From 46739dda053de12e4222b6ecfa6d09ca3b8fa78a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 8 Mar 2025 10:48:27 +0100 Subject: Misc improvements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/hooks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hooks.c') diff --git a/src/hooks.c b/src/hooks.c index 4574742..a19c60d 100644 --- a/src/hooks.c +++ b/src/hooks.c @@ -105,7 +105,7 @@ hooks_signal_period_change(enum period prev_period, enum period period) weprintf("execl %s:", hook_path); /* Only reached on error */ - _exit(EXIT_FAILURE); + _exit(1); default: /* SIGCHLD is ignored */ break; -- cgit v1.2.3-70-g09d2