]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/shutdown.c
Merge pull request #7846 from poettering/nobody-getenv
[thirdparty/systemd.git] / src / core / shutdown.c
index da817c898d28d8521bc9af05f5d329fb803f40c9..fb882db99b896194ce768344c962ffde6589fd40 100644 (file)
@@ -333,8 +333,7 @@ int main(int argc, char *argv[]) {
         if (!in_container)
                 sync_with_progress();
 
-        /* Prevent coredumps */
-        disable_core_dumps();
+        disable_coredumps();
 
         log_info("Sending SIGTERM to remaining processes...");
         broadcast_signal(SIGTERM, true, true, arg_timeout);