projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3817c2f
)
rootfs-block/mount-root.sh: only warn if fsck returned != 0
author
Harald Hoyer
<harald@redhat.com>
Wed, 10 Nov 2010 19:06:34 +0000
(20:06 +0100)
committer
Harald Hoyer
<harald@redhat.com>
Wed, 10 Nov 2010 19:06:34 +0000
(20:06 +0100)
modules.d/95rootfs-block/mount-root.sh
patch
|
blob
|
history
diff --git
a/modules.d/95rootfs-block/mount-root.sh
b/modules.d/95rootfs-block/mount-root.sh
index
476fa85
..
00cf475
100755
(executable)
--- a/
modules.d/95rootfs-block/mount-root.sh
+++ b/
modules.d/95rootfs-block/mount-root.sh
@@
-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