From c61373a0a8f77d6d9600a0adc4570ce3e3a1ad30 Mon Sep 17 00:00:00 2001 From: Tino Vazquez Date: Mon, 18 Jun 2012 15:51:19 +0200 Subject: [PATCH] Fix bad precedence if test --- src/im_mad/im_exec/one_im_exec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/im_mad/im_exec/one_im_exec.rb b/src/im_mad/im_exec/one_im_exec.rb index 23bb617fcc..a6c98e3fa7 100755 --- a/src/im_mad/im_exec/one_im_exec.rb +++ b/src/im_mad/im_exec/one_im_exec.rb @@ -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}/. " \