From 6166c047404a138f6190b4128ed3b2f1381c55ed Mon Sep 17 00:00:00 2001 From: JLKwong Date: Wed, 10 Mar 2021 18:49:45 -0800 Subject: [PATCH] if then (fixes #2067) --- modules/clone.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/clone.sh b/modules/clone.sh index 334b6d44b..3e1260770 100644 --- a/modules/clone.sh +++ b/modules/clone.sh @@ -9,8 +9,8 @@ function clone { case $argument in "detect") - if [ -n $path ]; then - echo $path + if [ -n "$path" ]; then + echo "$path" else echo "Error: Could not detect any devices. Try plugging your device into a different slot."