1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-27 18:55:09 +03:00

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

3
main.c
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);