aboutsummaryrefslogtreecommitdiffstats
path: root/src/hooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hooks.c')
-rw-r--r--src/hooks.c2
1 files changed, 1 insertions, 1 deletions
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;