chiark / gitweb /
core: add new "flush" job mode to cancel all other jobs when queuing a new job
[elogind.git] / src / core / main.c
index bc92f65fd6c9d211029aa104ecb31ba05f383030..dbc98db84ab97886872286c309d00b03b02dce91 100644 (file)
@@ -1745,7 +1745,7 @@ finish:
                          * initrd, but don't wait for them, so that we
                          * can handle the SIGCHLD for them after
                          * deserializing. */
-                        broadcast_signal(SIGTERM, false);
+                        broadcast_signal(SIGTERM, false, true);
 
                         /* And switch root */
                         r = switch_root(switch_root_dir);