From c47a8f2a87b409ace58f9062bb3f37130f18da81 Mon Sep 17 00:00:00 2001 From: J William Piggott Date: Sun, 27 Aug 2017 20:26:41 -0400 Subject: 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 --- sys-utils/hwclock.8.in | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sys-utils/hwclock.8.in') 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 -- cgit v1.2.3-55-g7522