diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-03-22 15:05:51 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-03-22 21:04:28 +0100 |
commit | ab4224458bf32d0e733f8e74b34414635389acc1 (patch) | |
tree | 6db36686ac320c8c1721b3b1a13ab9a54e95e3bd /src/core/main.c | |
parent | 7d566799022b24fef2bb8ca6d671bf8ad14d9e26 (diff) |
main: minor simplification
Diffstat (limited to 'src/core/main.c')
-rw-r--r-- | src/core/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/main.c b/src/core/main.c index 05f0803b8b..25f55fced2 100644 --- 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; |