Daemon-Control icon indicating copy to clipboard operation
Daemon-Control copied to clipboard

pid check works now for all users

Open eserte opened this issue 11 years ago • 1 comments

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.

eserte avatar Oct 29 '14 15:10 eserte

This would fix https://rt.cpan.org/Ticket/Display.html?id=87491

eserte avatar Oct 29 '14 15:10 eserte