From c3b3c274cf7911121f84746cd80a152455f7ec97 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 13 Apr 2010 04:19:02 +0200 Subject: [PATCH] main: freeze instead of exiting when run as init --- main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.c b/main.c index 6a3eee2e..b8ad5901 100644 --- a/main.c +++ b/main.c @@ -575,5 +575,8 @@ finish: dbus_shutdown(); + if (getpid() == 1) + freeze(); + return retval; } -- 2.39.5