Package: sysvinit Version: 2.86.ds1-1 Severity: minor Tags: patch The man page of the "pidof" program should document its exit status. The program is more useful to scripts if they can count on its returning non-0 iff the pid search fails.
< Stephen --- sysvinit-2.86.ds1/man/pidof.8 1998-09-02 05:49:33.000000000 -0700 +++ man/pidof.8 2005-06-02 18:11:29.000000000 -0700 @@ -31,6 +31,13 @@ Tells \fIpidof\fP to omit processes with that process id. The special pid \fB%PPID\fP can be used to name the parent process of the \fIpidof\fP program, in other words the calling shell or shell script. +.SH "EXIT STATUS" +.TP +.B 0 +At least one program was found with the requested name. +.TP +.B 1 +No program was found with the requested name. .SH NOTES \fIpidof\fP is simply a (symbolic) link to the \fIkillall5\fP program, which should also be located in \fP/sbin\fP. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]