From c5a286843160e4753a7fc327927f96c0bb9a0be1 Mon Sep 17 00:00:00 2001 From: Joe Cooper Date: Mon, 21 Aug 2017 13:49:02 -0500 Subject: [PATCH] Oops, has to come after slib is loaded --- virtualmin-install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/virtualmin-install.sh b/virtualmin-install.sh index 8869213..501ebe1 100644 --- a/virtualmin-install.sh +++ b/virtualmin-install.sh @@ -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 @@ -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"