chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d56679
)
main: minor simplification
author
Lennart Poettering
<lennart@poettering.net>
Fri, 22 Mar 2013 14:05:51 +0000
(15:05 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 22 Mar 2013 20:04:28 +0000
(21:04 +0100)
src/core/main.c
patch
|
blob
|
history
diff --git
a/src/core/main.c
b/src/core/main.c
index 05f0803b8bb81550a22d2050b426c89ec9d36e3b..25f55fced23559addfaf0a54f932794c8175e033 100644
(file)
--- a/
src/core/main.c
+++ b/
src/core/main.c
@@
-1573,10
+1573,9
@@
int main(int argc, char *argv[]) {
/* Make sure we leave a core dump without panicing the
* kernel. */
- if (getpid() == 1)
+ if (getpid() == 1)
{
install_crash_handler();
- if (getpid() == 1) {
r = mount_cgroup_controllers(arg_join_controllers);
if (r < 0)
goto finish;