main: fail if we cannot mount /cgroup/debug

This commit is contained in:
Lennart Poettering
2010-04-07 03:18:35 +02:00
parent 004e33b632
commit d89e521ead
+2 -1
View File
@@ -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);