]> git.ipfire.org Git - thirdparty/util-linux.git/commit
hwclock: fix audit exit status
authorKarel Zak <kzak@redhat.com>
Thu, 27 Feb 2020 13:04:55 +0000 (14:04 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 15 May 2020 09:50:02 +0000 (11:50 +0200)
commita7399fa3c214b8a031e431b4737da855f98b1a2d
tree72407174b95e8cc74eedf876b6ac36c9bbff1c30
parentf900fc11a644d65b18e5109361b06e326cc5c022
hwclock: fix audit exit status

According to audit_log_user_message(3) result 1 is "success" and 0 is
"failed", we use standard EXIT_{SUCCESS,FAILURE} macros with reverse
status.

Addresses: https://github.com/karelzak/util-linux/issues/966
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/hwclock.c