rootfs-block: do not touch root-fsck
authorHarald Hoyer <harald@redhat.com>
Wed, 17 Jul 2013 09:58:55 +0000 (11:58 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 17 Jul 2013 09:58:55 +0000 (11:58 +0200)
in systemd environments, we use systemd in the initramfs

modules.d/95rootfs-block/mount-root.sh

index 5cd905f..bf6f7c7 100755 (executable)
@@ -115,7 +115,6 @@ mount_root() {
         umount "$NEWROOT"
         fsck_single "${root#block:}" "$rootfs" "$rflags" "$fsckoptions"
         _ret=$?
-        [ $_ret -ne 255 ] && echo $_ret >/run/initramfs/root-fsck
         ran_fsck=1
     fi