bin/flapper in flapjack-0.6.55 vs bin/flapper in flapjack-0.6.56
- old
+ new
@@ -125,9 +125,10 @@
uptime = (runner.daemon_running?) ? Time.now - File.stat(pidfile).ctime : 0
if runner.daemon_running?
puts "#{exe} is running: #{uptime}"
else
puts "#{exe} is not runninng"
+ exit 3
end
else
if ARGV.nil? || ARGV.empty?
puts "No command provided"