1
0
Fork 0

use func: consoleError to display error

This commit is contained in:
Asif Bacchus 2020-09-14 23:36:34 -06:00
parent 34d57d4553
commit 514e24664c
1 changed files with 1 additions and 2 deletions

View File

@ -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?