chiark / gitweb /
man: wording and grammar updates
[elogind.git] / src / core / main.c
index 8b8e110f249877a1a447c622a70a7b7df56efd78..243855fa153e1a89a354d91aa1b81fb3667070f1 100644 (file)
@@ -1942,6 +1942,10 @@ finish:
                         watchdog_close(true);
                 }
 
+                /* avoid the creation of new processes forked by the kernel; at this
+                 * point, we will not listen to the signals anyway */
+                cg_uninstall_release_agent(SYSTEMD_CGROUP_CONTROLLER);
+
                 execve(SYSTEMD_SHUTDOWN_BINARY_PATH, (char **) command_line, env_block);
                 free(env_block);
                 log_error("Failed to execute shutdown binary, freezing: %m");