mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
F #3859: Fix previous commit
This commit is contained in:
parent
4eb0662ea7
commit
5f2612acf4
@ -479,8 +479,7 @@ class OneHostHelper < OpenNebulaHelper::OneHelper
|
||||
cmd = "onehost offline #{hostname}"
|
||||
cmd << " && onehost enable #{hostname}"
|
||||
|
||||
system("ssh #{hostname} \"#{cmd}\" 2>/dev/null")
|
||||
|
||||
system(cmd)
|
||||
if !$CHILD_STATUS.success?
|
||||
error_lock.synchronize do
|
||||
host_errors << hostname
|
||||
|
Loading…
x
Reference in New Issue
Block a user