diff --git a/modules/clone.sh b/modules/clone.sh index 33ab2a2c3..f36f40105 100644 --- a/modules/clone.sh +++ b/modules/clone.sh @@ -9,7 +9,7 @@ function clone { case $argument in "detect") - if [[ -n "$path" ]]; then + if [[ -z "$path" ]]; then echo "Error: Could not detect any devices. Try plugging your device into a different slot." else