diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-07 03:18:35 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-07 03:18:35 +0200 |
commit | d89e521eadeccc17fd10b574106c0fcd9e9f9340 (patch) | |
tree | ff2afca5dca9f86bd2b41ec2414534923e9fb895 /main.c | |
parent | 004e33b632f34c9cd802347003563d566392678f (diff) |
main: fail if we cannot mount /cgroup/debug
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -247,7 +247,8 @@ int main(int argc, char *argv[]) { /* Mount /proc, /sys and friends, so that /proc/cmdline and * /proc/$PID/fd is available. */ - mount_setup(); + if (mount_setup() < 0) + goto finish; /* Reset all signal handlers. */ assert_se(reset_all_signal_handlers() == 0); |