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