Add exit statuses to new manpage section
This commit is contained in:
parent
6fc342929c
commit
16e428b36f
10
timeoutd.8
10
timeoutd.8
|
@ -54,7 +54,15 @@ to login at that time, or whether they have exceeded their daily time limit.
|
|||
When invoked in this way, by passing a username and tty (without the leading
|
||||
/dev) on the command line,
|
||||
.B timeoutd
|
||||
returns one of the following exit codes:
|
||||
returns an exit code and may leave an appropriate message.
|
||||
.SH EXIT STATUS
|
||||
When run in daemon mode,
|
||||
.B timeoutd
|
||||
may exit with an exit status of 1, in case of fatal error, or 0, if it has been
|
||||
terminated by another process.
|
||||
.PP
|
||||
When invoked as a normal command, it will exit
|
||||
with one of the following exit codes:
|
||||
.IP "0 User is allowed to login
|
||||
.IP "1 Fatal error
|
||||
.IP "5 Incorrect command line format
|
||||
|
|
Loading…
Reference in a new issue