Skip Menu |

This queue is for tickets about the Daemon-Generic CPAN distribution.

Report information
The Basics
Id: 83295
Status: resolved
Priority: 0/
Queue: Daemon-Generic

People
Owner: Nobody in particular
Requestors: clintonmead [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: "Status" option seems confused.
Date: Wed, 13 Feb 2013 12:07:11 +1100
To: bug-Daemon-Generic [...] rt.cpan.org
From: Clinton Mead <clintonmead [...] gmail.com>
The "status" option isn't documented as valid, but clearly in the code it seems to be valid on line 125 which says: } elsif ($do eq 'status') { but then on line 162 it says: if ($do eq 'status') { print "Unused\n"; exit 3; } which seems to imply "status" is unused. Could the status option be documented and simply check if the daemon is up or not? I see no need for it to check the config file.
Status now says "No $0 running" in the pidfile doesn't exist case.