Skip to content

Commit

Permalink
Tweak Riddle client running? method to return false instead of nil wh…
Browse files Browse the repository at this point in the history
…en pid is nil
  • Loading branch information
rob-at-thewebfellas authored and pat committed Jul 31, 2009
1 parent f6e01b0 commit 21e4a2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/riddle/lib/riddle/controller.rb
Expand Up @@ -40,7 +40,7 @@ def pid
end

def running?
pid && !!Process.kill(0, pid)
!!pid && !!Process.kill(0, pid)
rescue
false
end
Expand Down

0 comments on commit 21e4a2c

Please sign in to comment.