Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix fatal exception when pid is nil #164

Merged
merged 1 commit into from
Mar 6, 2014
Merged

Fix fatal exception when pid is nil #164

merged 1 commit into from
Mar 6, 2014

Commits on Mar 6, 2014

  1. Fix fatal exception when pid is nil

    pid may return a nil value (if never found in pid_file) causing Process.kill to throw an exception (TypeError: no implicit conversion from nil to integer). We should check to make sure the pid isn't nil before attempting to kill it. Warn (once) about the missing pid. Don't interrupt polling in case a valid pid_file shows up while polling.
    Ben Turley committed Mar 6, 2014
    Configuration menu
    Copy the full SHA
    4c1d980 View commit details
    Browse the repository at this point in the history