chiark / gitweb /
core: make systemd.confirm_spawn=1 actually work
[elogind.git] / src / core / manager.c
index dedcb74be6bbb9e8677489a2e7ace6d2362d9dc7..9dfcb98de930f674181345d41a3c0bbd63e6c5a5 100644 (file)
@@ -2005,6 +2005,9 @@ void manager_check_finished(Manager *m) {
         /* Notify Type=idle units that we are done now */
         close_pipe(m->idle_pipe);
 
+        /* Turn off confirm spawn now */
+        m->confirm_spawn = false;
+
         if (dual_timestamp_is_set(&m->finish_timestamp))
                 return;