mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-25 02:50:08 +03:00
Fix bash syntax error
This commit is contained in:
parent
ffce3651c0
commit
8d6573b3ed
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user