From: danw Date: Thu, 3 Jul 1997 09:22:57 +0000 (+0000) Subject: Document new blanche exit status semantics. (Don't claim success X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/6ecbb8ad77d801cc0d9d06645bf59ab45ba4238f Document new blanche exit status semantics. (Don't claim success unless all adds and deletes succeeded.) --- diff --git a/man/blanche.1 b/man/blanche.1 index 1563164a..51fc3874 100644 --- a/man/blanche.1 +++ b/man/blanche.1 @@ -109,6 +109,14 @@ Mark Rosenstein and Jay Berkenbilt. .SH SEE ALSO listmaint(1) +.SH DIAGNOSTICS +The exit status from blanche is not as useful as you might hope. An +exit status of 2 indicates a problem contacting the server or reading +an input file. An exit status of 1 indicates that at least one add or +delete failed, and an exit status of 0 indicates that all adds and +deletes succeeded. If you need the exit status to be meaningful, you +should only do one add or delete at a time. + .SH NOTES The listname doesn't actually have to be the first argument, but if you put it anywhere else, it's easy to get the other arguments in the