From 9cb34502fdf3192e061be0113d3fb10c82eb2b07 Mon Sep 17 00:00:00 2001 From: FRIGN Date: Thu, 5 Mar 2015 00:27:36 +0100 Subject: [PATCH] Add EXIT STATUS to nohup.1 --- nohup.1 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/nohup.1 b/nohup.1 index f52f799..95f6bf8 100644 --- a/nohup.1 +++ b/nohup.1 @@ -20,6 +20,20 @@ If stdout is a terminal, it is appended to .Em nohup.out in the current working directory. If stderr is a terminal, it is redirected to stdout. +.Sh EXIT STATUS +.Bl -tag -width Ds +.It 0 +.Ar cmd +executed successfully. +.It 1 +Internal error. +.It 126 +.Ar cmd +was found but could not be executed. +.It 127 +.Ar cmd +could not be found. +.El .Sh SEE ALSO .Xr signal 7 .Sh STANDARDS