summaryrefslogtreecommitdiffstats
path: root/init_functions
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-03-28 03:40:59 +0200
committerDave Reisner <dreisner@archlinux.org>2012-03-28 03:40:59 +0200
commitd397043814a47f0762175a9999a01f3ec0088152 (patch)
tree386314e4a3c5b6932ad4809e343b3729158e11bc /init_functions
parentab24f0129f680ecbdd62bca39b101eec03eb6038 (diff)
downloadmkinitcpio-d397043814a47f0762175a9999a01f3ec0088152.tar.gz
mkinitcpio-d397043814a47f0762175a9999a01f3ec0088152.tar.xz
fsck: leverage blank /etc/fstab included by base
Since 3b18c9cd we have a blank /etc/fstab in the image. This is also forward thinking for the next release of util-linux (2.22), where fsck complains loudly about my filthy hack of using /dev/null as /etc/fstab. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'init_functions')
-rw-r--r--init_functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/init_functions b/init_functions
index 0233aa2..b11e2e1 100644
--- a/init_functions
+++ b/init_functions
@@ -107,7 +107,7 @@ fsck_device() {
fi
msg ":: performing fsck on '$1'"
- FSTAB_FILE=/dev/null fsck -Ta -C"$FSCK_FD" "$1" -- ${forcefsck+-f}
+ fsck -Ta -C"$FSCK_FD" "$1" -- ${forcefsck+-f}
}
fsck_root() {