From: Lennart Poettering Date: Mon, 23 Apr 2018 17:25:23 +0000 (+0200) Subject: man: document BSD exit codes in systemd.exec(5) too X-Git-Tag: v239~340^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3e0bff7d0b812357c43aa831c57a34f00cdf2f31;p=thirdparty%2Fsystemd.git man: document BSD exit codes in systemd.exec(5) too Our own tools use them now, and we probably should encourage that, hence let's document them along with the other exit codes we use. --- diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml index b2ac0a26558..1a01a7f75ff 100644 --- a/man/systemd.exec.xml +++ b/man/systemd.exec.xml @@ -2612,6 +2612,98 @@ StandardInputData=SWNrIHNpdHplIGRhIHVuJyBlc3NlIEtsb3BzLAp1ZmYgZWVtYWwga2xvcHAncy + + Finally, the BSD operating systems define a set of exit codes, typically defined on Linux systems too: + + + BSD exit codes + + + + Exit Code + Symbolic Name + Description + + + + + 64 + EX_USAGE + Command line usage error + + + 65 + EX_DATAERR + Data format error + + + 66 + EX_NOINPUT + Cannot open input + + + 67 + EX_NOUSER + Addressee unknown + + + 68 + EX_NOHOST + Host name unknown + + + 69 + EX_UNAVAILABLE + Service unavailable + + + 70 + EX_SOFTWARE + internal software error + + + 71 + EX_OSERR + System error (e.g., can't fork) + + + 72 + EX_OSFILE + Critical OS file missing + + + 73 + EX_CANTCREAT + Can't create (user) output file + + + 74 + EX_IOERR + Input/output error + + + 75 + EX_TEMPFAIL + Temporary failure; user is invited to retry + + + 76 + EX_PROTOCOL + Remote error in protocol + + + 77 + EX_NOPERM + Permission denied + + + 78 + EX_CONFIG + Configuration error + + + +