diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-13 04:19:02 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-13 04:19:02 +0200 |
commit | c3b3c274cf7911121f84746cd80a152455f7ec97 (patch) | |
tree | 15dcc88ef68e5e1cb97492287cc605a044b3340d /main.c | |
parent | 8c43883a682b2edd902b170ab2e0f3d50d7e92e0 (diff) |
main: freeze instead of exiting when run as init
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -575,5 +575,8 @@ finish: dbus_shutdown(); + if (getpid() == 1) + freeze(); + return retval; } |