From 4b07c26d33c5b2ab1e4d2e98c88e787bdf032917 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 c9c88b7d..249aa84a 100755 --- a/modules.d/99fs-lib/module-setup.sh +++ b/modules.d/99fs-lib/module-setup.sh @@ -15,10 +15,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 " @@ -29,10 +29,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() {