Skip to content

Commit

Permalink
Oops, has to come after slib is loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
swelljoe committed Aug 21, 2017
1 parent 10add5f commit c5a2868
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion virtualmin-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ SERIAL=GPL
KEY=GPL
VER=6.0.4
vm_version=6
serial_ok "$SERIAL" "$KEY"

arch="$(uname -m)"
if [ "$arch" = "i686" ]; then
Expand Down Expand Up @@ -295,6 +294,8 @@ chmod +x slib.sh
# shellcheck disable=SC1091
. ./slib.sh

# Check the serial number and key
serial_ok "$SERIAL" "$KEY"
# Setup slog
# shellcheck disable=SC2034
LOG_PATH="$log"
Expand Down

0 comments on commit c5a2868

Please sign in to comment.