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