From 60475ade761e85ef2c1b0f2daef569b134d44fc0 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Tue, 27 Aug 2013 17:51:31 -0400 Subject: rely on libmount defaults for file locations Using --tab-file for findmnt calls is redundant if we can rely on the defaults. Sanitize the environment from any LIBMOUNT_* variables so that we can be sure of what file we're reading. 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 3710e68..b3db536 100644 --- a/install/autodetect +++ b/install/autodetect @@ -37,7 +37,7 @@ build() { fi # detect filesystem for separate /usr - if usrfstype=$(findmnt -snero fstype --tab-file '/etc/fstab' -T '/usr'); then + if usrfstype=$(findmnt -snero fstype -T '/usr'); then add_if_avail "$usrfstype" fi -- cgit v1.2.3-24-g4f1b