aboutsummaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorKurt J. Bosch <kjb-temp-2009@alpenjodel.de>2011-06-25 11:08:05 +0200
committerKurt J. Bosch <kjb-temp-2009@alpenjodel.de>2011-06-28 15:39:42 +0200
commitfac564337b20eb7b4b1a6163a8290c1058d116b1 (patch)
tree921b1b0fbdad4ab26070c551988959f30a36d8b1 /functions
parent7788571a9854b58c9bee058a36db4b1d0d41f614 (diff)
downloadinitscripts-fac564337b20eb7b4b1a6163a8290c1058d116b1.tar.xz
Move fsck executable check into fsck_all() for consistency
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