diff options
author | Karel Zak | 2017-08-21 11:11:11 +0200 |
---|---|---|
committer | Karel Zak | 2017-08-21 11:11:11 +0200 |
commit | c38018028946a45e131e91af68cd8090f74a8c1f (patch) | |
tree | c926dc443bfc91275249abe4fb4a3105103f86b6 /disk-utils/isosize.8 | |
parent | look: use WORDLIST environment variable to find word list (diff) | |
download | kernel-qcow2-util-linux-c38018028946a45e131e91af68cd8090f74a8c1f.tar.gz kernel-qcow2-util-linux-c38018028946a45e131e91af68cd8090f74a8c1f.tar.xz kernel-qcow2-util-linux-c38018028946a45e131e91af68cd8090f74a8c1f.zip |
isosize: iterate over all arguments even when something fails
Earlier the command exit too early if one of the arguments failed. After
this change all arguments are examined, and command return value will have
information what happen during processing.
Based on patch from Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/isosize.8')
-rw-r--r-- | disk-utils/isosize.8 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/disk-utils/isosize.8 b/disk-utils/isosize.8 index 44ac124ea..baa5f7d2a 100644 --- a/disk-utils/isosize.8 +++ b/disk-utils/isosize.8 @@ -32,6 +32,23 @@ filesystem can be marginally larger than the actual size of the iso9660 filesystem. One reason for this is that cd writers are allowed to add "run out" sectors at the end of an iso9660 image. +.SH "EXIT STATUS" +.RS +.PD 0 +.TP +.B 0 +success +.TP +.B 1 +generic failure, such as invalid usage +.TP +.B 32 +all failed +.TP +.B 64 +some failed +.PD +.RE .SH AVAILABILITY The isosize command is part of the util-linux package and is available from .UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/ |