From e26b3e09147a5f5094616f733ec5208b6ab51e16 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Mon, 6 Dec 2010 17:10:46 +0100 Subject: fix bug which prevented populating possible FS array --- src/core/libs/lib-blockdevices-filesystems.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/libs') diff --git a/src/core/libs/lib-blockdevices-filesystems.sh b/src/core/libs/lib-blockdevices-filesystems.sh index 6e792f7..9734749 100644 --- a/src/core/libs/lib-blockdevices-filesystems.sh +++ b/src/core/libs/lib-blockdevices-filesystems.sh @@ -82,7 +82,7 @@ get_possible_fs () { possible_fs= for fs in "${!filesystem_programs[@]}" do - which ${filesystem_programs[$fs]} &>/dev/null && possible_fs=("${possible_fs[@]}" fs) + which ${filesystem_programs[$fs]} &>/dev/null && possible_fs=("${possible_fs[@]}" $fs) done } -- cgit v1.2.3-54-g00ecf