From a9acf88c1dda80acd3de5d08f61a7e452fdc4510 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 21 Jan 2012 16:46:54 -0500 Subject: use --tab-file flag for findmnt -s Behavior changed in util-linux commit 2f1ac44b4b. Signed-off-by: Dave Reisner --- install/autodetect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install') diff --git a/install/autodetect b/install/autodetect index cc12124..1b5b438 100644 --- a/install/autodetect +++ b/install/autodetect @@ -34,7 +34,7 @@ build() { add_if_avail "$rootfstype" # detect separate /usr - if usrfstype=$(findmnt -nero fstype -s"$BASEDIR/etc/fstab" /usr); then + if usrfstype=$(findmnt -snero fstype --tab-file "$BASEDIR/etc/fstab" /usr); then add_if_avail "$usrfstype" fi -- cgit v1.2.3-24-g4f1b