* Make fsck shut up about missing fstab. Contributed

by Nicolas Pierron.

svn path=/nixos/trunk/; revision=9571
This commit is contained in:
Eelco Dolstra 2007-11-01 15:58:01 +00:00
parent f7fd4c9a6d
commit 79c7f2cecc

View File

@ -103,7 +103,7 @@ mountFS() {
fi
if test -n "$mustCheck"; then
fsck -C -a "$device"
FSTAB_FILE="/etc/mtab" fsck -C -a "$device"
fsckResult=$?
if test $(($fsckResult | 2)) = $fsckResult; then