diff --git a/ab-openldap/ab-openldap-update.sh b/ab-openldap/ab-openldap-update.sh index 9dd1c85..e89da2b 100755 --- a/ab-openldap/ab-openldap-update.sh +++ b/ab-openldap/ab-openldap-update.sh @@ -36,8 +36,7 @@ fi # check if wget is installed if ! command -v wget > /dev/null 2>&1; then - printf "\nSorry, this script requires that 'wget' is installed in order to automatically update files.\nExiting.\n\n" - exit 1 + consoleError '1' "Sorry, this script requires that 'wget' is installed in order to automatically update files." fi # is user root or in the docker group?