EXIT STATUS OF MGETTY

Gert Doering (gert@greenie.muc.de)
Tue, 16 Sep 1997 20:46:45 +0200


Hi,

Robert J. Brown wrote:
> Without modifying faxspool and faxrunq, you would have to pipe the
> stdout of these scripts thru a parser to determine if the succeded or
> not. This is not usually as bad as it sounds. Of course, exit codes
> would be nice. :-)

For *faxspool*, there is a meaningful way to define "success" or 
"failure" -- and thus, faxspool uses proper exit codes.

Only for faxrunq, it's unclear what "failure" would mean ("all faxes
failed"? "one out of the queue failed"? "more than 50 per cent failed"?),
thus it will only return a non-zero exit code on invocation or system
fatal errors.

gert

-- 
USENET is *not* the non-clickable part of WWW!
           //www.muc.de/~gert/
Gert Doering - Munich, Germany      gert@greenie.muc.de
fax: +49-89-3545980     gert.doering@physik.tu-muenchen.de
.