restore root-check
This commit is contained in:
parent
ff98225921
commit
846789efe7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user