restore root-check
This commit is contained in:
parent
ff98225921
commit
846789efe7
@ -49,9 +49,9 @@ fi
|
|||||||
### pre-requisites
|
### pre-requisites
|
||||||
|
|
||||||
# is user root?
|
# is user root?
|
||||||
#if [ ! "$( id -u )" -eq 0 ]; then
|
if [ ! "$( id -u )" -eq 0 ]; then
|
||||||
# consoleError 1 'You must be root to run this script.'
|
consoleError 1 'You must be root to run this script.'
|
||||||
#fi
|
fi
|
||||||
|
|
||||||
# has a parameter been passed to this script?
|
# has a parameter been passed to this script?
|
||||||
if [ -z "$1" ]; then
|
if [ -z "$1" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user