* Make fsck shut up about missing fstab. Contributed
by Nicolas Pierron. svn path=/nixos/trunk/; revision=9571
This commit is contained in:
parent
f7fd4c9a6d
commit
79c7f2cecc
@ -103,7 +103,7 @@ mountFS() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if test -n "$mustCheck"; then
|
if test -n "$mustCheck"; then
|
||||||
fsck -C -a "$device"
|
FSTAB_FILE="/etc/mtab" fsck -C -a "$device"
|
||||||
fsckResult=$?
|
fsckResult=$?
|
||||||
|
|
||||||
if test $(($fsckResult | 2)) = $fsckResult; then
|
if test $(($fsckResult | 2)) = $fsckResult; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user