mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-16 09:43:18 +09:00
Fix bash syntax error
This commit is contained in:
1 parent
ffce3651c0
commit
8d6573b3ed
1 file changed
+1
-1
@@ -153,7 +153,7 @@ class RemotesCommand < SSHCommand
|
||||
def self.run(command, host, remote_dir, logger=nil, stdin=nil)
|
||||
cmd_file = command.split(' ')[0]
|
||||
|
||||
cmd_string = "'if [ -x \"#{cmd_file}\" ]; then; #{command}; else;\
|
||||
cmd_string = "'if [ -x \"#{cmd_file}\" ]; then #{command}; else\
|
||||
exit #{MAGIC_RC}; fi'"
|
||||
|
||||
cmd = self.new(cmd_string, host, logger, stdin)
|
||||
|
||||
Reference in new issue
Block a user