Skip to content

Commit

Permalink
if then (fixes #2067)
Browse files Browse the repository at this point in the history
  • Loading branch information
JLKwong committed Mar 11, 2021
1 parent 9f087fa commit c548403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/clone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c548403

Please sign in to comment.