projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c43883
)
main: freeze instead of exiting when run as init
author
Lennart Poettering
<lennart@poettering.net>
Tue, 13 Apr 2010 02:19:02 +0000
(
04:19
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 13 Apr 2010 02:19:02 +0000
(
04:19
+0200)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index
6a3eee2
..
b8ad590
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-575,5
+575,8
@@
finish:
dbus_shutdown();
+ if (getpid() == 1)
+ freeze();
+
return retval;
}