diff options
author | Karel Zak | 2018-05-14 13:51:01 +0200 |
---|---|---|
committer | Karel Zak | 2018-05-14 13:51:01 +0200 |
commit | 6343ee8c10a8302740b2b8ef208c27846f7ae16f (patch) | |
tree | 5050311f4a6aaadf0b1e818c4d747595caca22a7 /term-utils/script.1 | |
parent | tests: update script headers (diff) | |
download | kernel-qcow2-util-linux-6343ee8c10a8302740b2b8ef208c27846f7ae16f.tar.gz kernel-qcow2-util-linux-6343ee8c10a8302740b2b8ef208c27846f7ae16f.tar.xz kernel-qcow2-util-linux-6343ee8c10a8302740b2b8ef208c27846f7ae16f.zip |
script: record exit code
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'term-utils/script.1')
-rw-r--r-- | term-utils/script.1 | 3 |
1 files changed, 2 insertions, 1 deletions
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 |