Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4de4f5c commit c33e493Copy full SHA for c33e493
1 file changed
lib/takeover/udf.py
@@ -8,6 +8,7 @@
8
import os
9
10
from lib.core.agent import agent
11
+from lib.core.common import checkFile
12
from lib.core.common import dataToStdout
13
from lib.core.common import Backend
14
from lib.core.common import isStackingAvailable
@@ -146,6 +147,7 @@ def udfInjectCore(self, udfDict):
146
147
148
if len(self.udfToCreate) > 0:
149
self.udfSetRemotePath()
150
+ checkFile(self.udfLocalFile)
151
written = self.writeFile(self.udfLocalFile, self.udfRemoteFile, "binary", forceCheck=True)
152
153
if written is not True:
0 commit comments