aboutsummaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions1
1 files changed, 1 insertions, 0 deletions
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