restore root-check

This commit is contained in:
Asif Bacchus 2020-03-26 05:43:10 -06:00
parent ff98225921
commit 846789efe7
1 changed files with 3 additions and 3 deletions

View File

@ -49,9 +49,9 @@ fi
### pre-requisites
# is user root?
#if [ ! "$( id -u )" -eq 0 ]; then
# consoleError 1 'You must be root to run this script.'
#fi
if [ ! "$( id -u )" -eq 0 ]; then
consoleError 1 'You must be root to run this script.'
fi
# has a parameter been passed to this script?
if [ -z "$1" ]; then