rootfs-block/mount-root.sh: only warn if fsck returned != 0
parent
3817c2f138
commit
85de3d281a
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue