lib/rcoli/utils.rb in rcoli-0.6.5 vs lib/rcoli/utils.rb in rcoli-0.6.6

- old
+ new

@@ -97,10 +97,10 @@ if arg.is_a?(Hash) halt_on_error = arg['halt_on_error'] if arg.has_key?('halt_on_error') end end retval = RCoLi::SystemExecutor.instance.execute(command, args[0]) - if (!ApplicationContext.instance.modedev and halt_on_error and retval != true) + if (!RCoLi::ApplicationContext.instance.modedev and halt_on_error and retval != true) Kernel::exit(1) end retval end