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
|
# check if wget is installed
|
||||||
if ! command -v wget > /dev/null 2>&1; then
|
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"
|
consoleError '1' "Sorry, this script requires that 'wget' is installed in order to automatically update files."
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# is user root or in the docker group?
|
# is user root or in the docker group?
|
||||||
|
Loading…
Reference in New Issue
Block a user