1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-12 13:18:14 +03:00

portabled: add missing STOPPING=1 notification

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-11-16 14:56:59 +01:00
parent 166a9dc66f
commit 44c5d0442e

View File

@ -154,6 +154,9 @@ static int run(int argc, char *argv[]) {
r = manager_run(m);
(void) sd_notify(false,
"STOPPING=1\n"
"STATUS=Shutting down...");
log_debug("systemd-portabled stopped as pid " PID_FMT, getpid_cached());
return r;
}