diff options
author | Lennart Poettering <lennart@poettering.net> | 2024-05-29 17:41:42 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2024-05-29 17:42:02 +0200 |
commit | d46aab1374cb0cb92e6b05f69a789ce67bafeb7f (patch) | |
tree | a2a44219d825a8d5088a5b0e53f9714e4a735f26 /src | |
parent | shutdown: explicitly close watchdog with disarm=false before we destroy watch... (diff) | |
download | systemd-d46aab1374cb0cb92e6b05f69a789ce67bafeb7f.tar.xz systemd-d46aab1374cb0cb92e6b05f69a789ce67bafeb7f.zip |
main: add comment explaining parameter to watchdog_close
Diffstat (limited to 'src')
-rw-r--r-- | src/core/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/main.c b/src/core/main.c index 62e3eb4668..4b8a315d86 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -1649,7 +1649,7 @@ static int become_shutdown(int objective, int retval) { (void) watchdog_setup_pretimeout(0); (void) watchdog_setup_pretimeout_governor(NULL); r = watchdog_setup(watchdog_timer); - watchdog_close(r < 0); + watchdog_close(/* disarm= */ r < 0); /* The environment block: */ |