Skip to content

Commit

Permalink
loop over scan properly (fixes #10)
Browse files Browse the repository at this point in the history
  • Loading branch information
bb010g committed Feb 20, 2019
1 parent c98adc6 commit a190bdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions betterdiscordctl
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ if [[ $cmd != upgrade ]]; then
continue 2
fi
if [[ -z $modules ]]; then
bdc_find_modules
bdc_find_modules
else
# --modules
if [[ ! -d $modules ]]; then
Expand All @@ -320,8 +320,8 @@ if [[ $cmd != upgrade ]]; then
fi
done
done
die 'ERROR: Discord installation not found.'
done
die 'ERROR: Discord installation not found.'
else
flavor=$flavors
# --discord and --modules
Expand Down

0 comments on commit a190bdf

Please sign in to comment.