lib/watch_tower/eye.rb in watch_tower-0.0.1.beta11 vs lib/watch_tower/eye.rb in watch_tower-0.0.1.beta12
- old
+ new
@@ -83,10 +83,10 @@
end
end
else
LOG.debug("#{__FILE__}:#{__LINE__}: #{editor.to_s} is not running")
end
- end
+ end unless $pause_eye
# If $stop global is set, please stop, otherwise sleep for 10 seconds.
if $close_eye
LOG.debug("#{__FILE__}:#{__LINE__}: Closing eye has been requested, end the loop")
break