From b2bcb8d4ae789f90e8329e7bde804d8a24416a23 Mon Sep 17 00:00:00 2001 From: Eric Claeys <83164203+EricClaeys@users.noreply.github.com> Date: Wed, 15 Nov 2023 15:51:58 -0600 Subject: [PATCH] Update install.sh: FIX: had wrong exit code name --- install.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/install.sh b/install.sh index 50f74e0dd..95a6f8c75 100755 --- a/install.sh +++ b/install.sh @@ -5,11 +5,11 @@ ME="$( basename "${BASH_ARGV0}" )" #shellcheck source-path=. -source "${ALLSKY_HOME}/variables.sh" || exit "${ALLSKY_ERROR_STOP}" +source "${ALLSKY_HOME}/variables.sh" || exit "${EXIT_ERROR_STOP}" #shellcheck source-path=scripts -source "${ALLSKY_SCRIPTS}/functions.sh" || exit "${ALLSKY_ERROR_STOP}" +source "${ALLSKY_SCRIPTS}/functions.sh" || exit "${EXIT_ERROR_STOP}" #shellcheck source-path=scripts -source "${ALLSKY_SCRIPTS}/installUpgradeFunctions.sh" || exit "${ALLSKY_ERROR_STOP}" +source "${ALLSKY_SCRIPTS}/installUpgradeFunctions.sh" || exit "${EXIT_ERROR_STOP}" if [[ ${EUID} -eq 0 ]]; then display_msg error "This script must NOT be run as root, do NOT use 'sudo'." @@ -19,9 +19,9 @@ fi # This script assumes the user already did the "git clone" into ${ALLSKY_HOME}. # Some versions of Linux default to 750 so web server can't read it -chmod 755 "${ALLSKY_HOME}" || exit "${ALLSKY_ERROR_STOP}" +chmod 755 "${ALLSKY_HOME}" || exit "${EXIT_ERROR_STOP}" -cd "${ALLSKY_HOME}" || exit "${ALLSKY_ERROR_STOP}" +cd "${ALLSKY_HOME}" || exit "${EXIT_ERROR_STOP}" TITLE="Allsky Installer - ${ALLSKY_VERSION}" FINAL_SUDOERS_FILE="/etc/sudoers.d/allsky"