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 d3ec25c commit 6166c04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/clone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 6166c04

Please sign in to comment.