use func: consoleError to display error
This commit is contained in:
parent
34d57d4553
commit
514e24664c
@ -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?
|
||||
|
Loading…
Reference in New Issue
Block a user