diff options
Diffstat (limited to 'miscutils/watchdog.c')
-rw-r--r-- | miscutils/watchdog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/watchdog.c b/miscutils/watchdog.c index a5061f5..4ad21cb 100644 --- a/miscutils/watchdog.c +++ b/miscutils/watchdog.c @@ -20,7 +20,7 @@ static void watchdog_shutdown(int sig ATTRIBUTE_UNUSED) write(3, &V, 1); /* Magic, see watchdog-api.txt in kernel */ if (ENABLE_FEATURE_CLEAN_UP) close(3); - exit(0); + exit(EXIT_SUCCESS); } int watchdog_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |