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 0e366f9 commit 110faaa
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 [ "$path" == "" ]; then
if [[ -n "$path" ]]; then
echo "Error: Could not detect any devices. Try plugging your device into a different slot."

else
Expand Down

0 comments on commit 110faaa

Please sign in to comment.