Remove unneeded '-' in '-n', which was causing error message.
This commit is contained in:
+1
-1
@@ -69,7 +69,7 @@ class Node( object ):
|
|||||||
opts = '-cdp'
|
opts = '-cdp'
|
||||||
self.inNamespace = inNamespace
|
self.inNamespace = inNamespace
|
||||||
if self.inNamespace:
|
if self.inNamespace:
|
||||||
opts += '-n'
|
opts += 'n'
|
||||||
cmd = [ 'mnexec', opts, 'bash', '-m' ]
|
cmd = [ 'mnexec', opts, 'bash', '-m' ]
|
||||||
self.shell = Popen( cmd, stdin=PIPE, stdout=PIPE, stderr=STDOUT,
|
self.shell = Popen( cmd, stdin=PIPE, stdout=PIPE, stderr=STDOUT,
|
||||||
close_fds=False )
|
close_fds=False )
|
||||||
|
|||||||
Reference in New Issue
Block a user