symkat/Daemon-Control — pull request #68 by eserte (2014-10-29 15:00:28+00:00)
Title: pid check works now for all users

Running "status" used to show the wrong result if the daemon was
started for a different user. According to perlipc.pod it's best to
check for $!{EPERM} after a failed kill 0 => ...

The pid_running() function was also simplified to call kill 0 => ...
only once, the 2nd call was actually redundant.