From fac564337b20eb7b4b1a6163a8290c1058d116b1 Mon Sep 17 00:00:00 2001 From: "Kurt J. Bosch" Date: Sat, 25 Jun 2011 11:08:05 +0200 Subject: Move fsck executable check into fsck_all() for consistency --- functions | 1 + 1 file changed, 1 insertion(+) (limited to 'functions') diff --git a/functions b/functions index 4c4ca0e..14b7a7b 100644 --- a/functions +++ b/functions @@ -362,6 +362,7 @@ NETFS="nonfs,nonfs4,nosmbfs,nocifs,nocodafs,noncpfs,nosysfs,noshfs,nofuse,nofuse # Check local filesystems fsck_all() { + [[ -x $(type -P fsck) ]] || return 0 stat_busy "Checking Filesystems" FSCK_OUT=/dev/stdout FSCK_ERR=/dev/stdout -- cgit v1.2.3