From 100d575ec9ea4d4a31c5435c5684ae7eca0e0aff Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 4 Apr 2014 11:33:02 +0200 Subject: [PATCH] fs-lib: always install fsck.$fs, if present --- modules.d/99fs-lib/module-setup.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules.d/99fs-lib/module-setup.sh b/modules.d/99fs-lib/module-setup.sh index 7979babd61..b6f85b15b4 100755 --- a/modules.d/99fs-lib/module-setup.sh +++ b/modules.d/99fs-lib/module-setup.sh @@ -17,10 +17,10 @@ echo_fs_helper() { local dev=$1 fs=$2 case "$fs" in xfs) - echo -n " xfs_db xfs_repair xfs_check xfs_metadump " + echo -n " xfs_db xfs_repair xfs_check xfs_metadump" ;; ext?) - echo -n " fsck.$fs e2fsck " + echo -n " e2fsck " ;; jfs) echo -n " jfs_fsck " @@ -31,10 +31,10 @@ echo_fs_helper() { btrfs) echo -n " btrfsck " ;; - *) - [[ -x fsck.$fs ]] && echo -n " fsck.$fs " - ;; esac + + echo -n " fsck.$fs " + return 0 } include_fs_helper_modules() { -- 1.9.3