]> git.ipfire.org Git - thirdparty/systemd.git/commit
core/main.c: do_switch_root(): do not remove the old root if not in initrd
authorHarald Hoyer <harald@redhat.com>
Wed, 16 May 2012 12:22:43 +0000 (14:22 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 21 May 2012 16:50:29 +0000 (18:50 +0200)
commite148ac5a6cccd1c9c23bf7b3085b50fdb1cd1cf9
tree2b3985948e026230b6a9d2a853b88fb393067e69
parentd03bc1b814b853497120c35a9a8d6a66925963ff
core/main.c: do_switch_root(): do not remove the old root if not in initrd

Only recursively remove the old root, if we have been in an
initrd/initramfs.
src/core/main.c