summaryrefslogtreecommitdiffstats
path: root/sys-utils/hwclock.8.in
diff options
context:
space:
mode:
authorJ William Piggott2017-08-28 02:26:41 +0200
committerJ William Piggott2017-09-03 18:03:10 +0200
commitc47a8f2a87b409ace58f9062bb3f37130f18da81 (patch)
treeae43d06020c9bf2fa5178131356f74f6638bbb01 /sys-utils/hwclock.8.in
parenttests: update sfdisk wipe test (diff)
downloadkernel-qcow2-util-linux-c47a8f2a87b409ace58f9062bb3f37130f18da81.tar.gz
kernel-qcow2-util-linux-c47a8f2a87b409ace58f9062bb3f37130f18da81.tar.xz
kernel-qcow2-util-linux-c47a8f2a87b409ace58f9062bb3f37130f18da81.zip
hwclock: remove sysexits.h
sysexits.h was introduced in v2.11t prior to util-linux-ng, with the HISTORY entry: * hwclock: minor polishing. So there was no specific issue solved by adding it. Its use was never documented so it should be safe to remove. Also, fix return values being used for the exit status that were not magic constants (portability issue). Signed-off-by: J William Piggott <elseifthen@gmx.com>
Diffstat (limited to 'sys-utils/hwclock.8.in')
-rw-r--r--sys-utils/hwclock.8.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys-utils/hwclock.8.in b/sys-utils/hwclock.8.in
index 107e3f196..8bdc841f2 100644
--- a/sys-utils/hwclock.8.in
+++ b/sys-utils/hwclock.8.in
@@ -917,6 +917,14 @@ timescale. The zoneinfo database must be configured to use either posix
or 'right', as described above, or by assigning a database path to the
.SB TZDIR
environment variable.
+.SH EXIT STATUS
+One of the following exit values will be returned:
+.TP
+.BR EXIT_SUCCESS " ('0' on POSIX systems)"
+Successful program execution.
+.TP
+.BR EXIT_FAILURE " ('1' on POSIX systems)"
+The operation failed or the command syntax was not valid.
.SH ENVIRONMENT
.TP
.B TZ