Skip to content

Commit

Permalink
Fix variable scope
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Oct 16, 2022
1 parent 9f20e33 commit e4ff4ba
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions virtualmin-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ if [ -e "$log" ]; then
done
fi

skipyesno=0

# Set defaults
bundle='LAMP' # Other option is LEMP
mode='full' # Other option is minimal
skipyesno=0
vm6_repos=0

usage() {
# shellcheck disable=SC2046
Expand Down Expand Up @@ -771,7 +771,6 @@ if [ "$?" != "0" ]; then
fi

if [ -n "$setup_only" ]; then
vm6_repos=0
if [ "$setup_only_force_latest" -ne 1 ]; then
# If Virtualmin 6 is installed and a user needs to fix repos make,
# sure that we don't switch 6 to 7 to keep the same stack packages
Expand Down

0 comments on commit e4ff4ba

Please sign in to comment.