summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/zfs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/zfs.sh b/scripts/zfs.sh
index 0e2f87250..858e3376a 100755
--- a/scripts/zfs.sh
+++ b/scripts/zfs.sh
@@ -122,7 +122,7 @@ load_modules() {
for opt in "$@"; do
opt_name=`echo $opt | cut -f1 -d'='`
- if [ ${name} = ${opt_name} ]; then
+ if [ ${name} = "${opt_name}" ]; then
value=`echo $opt | cut -f2- -d'='`
fi
done