From 6343ee8c10a8302740b2b8ef208c27846f7ae16f Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 14 May 2018 13:51:01 +0200 Subject: script: record exit code Signed-off-by: Karel Zak --- term-utils/script.1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'term-utils/script.1') diff --git a/term-utils/script.1 b/term-utils/script.1 index 041b7620b..0fb4c4fd7 100644 --- a/term-utils/script.1 +++ b/term-utils/script.1 @@ -75,7 +75,8 @@ tty. .TP \fB\-e\fR, \fB\-\-return\fR Return the exit code of the child process. Uses the same format as bash -termination on signal termination exit code is 128+n. +termination on signal termination exit code is 128+n. The exit code of +the child process is always stored in type script file too. .TP \fB\-f\fR, \fB\-\-flush\fR Flush output after each write. This is nice for telecooperation: one person -- cgit v1.2.3-55-g7522