Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c33e493

Browse files
committed
Fix for an Issue #885
1 parent 4de4f5c commit c33e493

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/takeover/udf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import os
99

1010
from lib.core.agent import agent
11+
from lib.core.common import checkFile
1112
from lib.core.common import dataToStdout
1213
from lib.core.common import Backend
1314
from lib.core.common import isStackingAvailable
@@ -146,6 +147,7 @@ def udfInjectCore(self, udfDict):
146147

147148
if len(self.udfToCreate) > 0:
148149
self.udfSetRemotePath()
150+
checkFile(self.udfLocalFile)
149151
written = self.writeFile(self.udfLocalFile, self.udfRemoteFile, "binary", forceCheck=True)
150152

151153
if written is not True:

0 commit comments

Comments
 (0)