1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-23 22:50:09 +03:00

Fix bad precedence if test

This commit is contained in:
Tino Vazquez 2012-06-18 15:51:19 +02:00
parent 5337d4cb7d
commit c61373a0a8

View File

@ -53,7 +53,7 @@ class InformationManagerDriver < OpenNebulaDriver
# Execute the run_probes in the remote host
def action_monitor(number, host, do_update)
if !action_is_local?(:MONITOR) || @options[:force_copy]
if @options[:force_copy] || !action_is_local?(:MONITOR)
if do_update == "1"
# Use SCP to sync:
sync_cmd = "scp -r #{@local_scripts_base_path}/. " \