rootfs-block/mount-root.sh: only warn if fsck returned != 0

master
Harald Hoyer 2010-11-10 20:06:34 +01:00
parent 3817c2f138
commit 85de3d281a
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ if [ -n "$root" -a -z "${root%%block:*}" ]; then
emergency_shell "(Repair filesystem)"
else
echo $out|vinfo
warn "fsck returned with $RD_ROOTFS_FSCK"
[ $RD_ROOTFS_FSCK -gt 0 ] && warn "fsck returned with $RD_ROOTFS_FSCK"
fi
fi