From 5b8e46f7e7710e2bb88ff8e763997830c9494df2 Mon Sep 17 00:00:00 2001 From: J William Piggott Date: Mon, 28 Aug 2017 21:19:55 -0400 Subject: hwclock: close hwaudit_fd unconditionally Signed-off-by: J William Piggott --- sys-utils/hwclock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys-utils/hwclock.c') diff --git a/sys-utils/hwclock.c b/sys-utils/hwclock.c index e471fe1ae..9fb631f6f 100644 --- a/sys-utils/hwclock.c +++ b/sys-utils/hwclock.c @@ -1379,8 +1379,8 @@ hwclock_exit(const struct hwclock_control *ctl audit_log_user_message(hwaudit_fd, AUDIT_USYS_CONFIG, "op=change-system-time", NULL, NULL, NULL, status); - close(hwaudit_fd); } + close(hwaudit_fd); #endif exit(status); } -- cgit v1.2.3-55-g7522