mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
Remove check for sudo
This commit is contained in:
parent
b9f2863b60
commit
04c00827f1
@ -42,11 +42,6 @@ quit_on_error() {
|
||||
exit -1
|
||||
}
|
||||
|
||||
if [ $EUID -ne 0 ]
|
||||
then echo "This script must be run with sudo"
|
||||
exit
|
||||
fi
|
||||
|
||||
############################################################################
|
||||
# Check passed parameters, set defaults
|
||||
############################################################################
|
||||
|
@ -46,11 +46,6 @@ quit_on_error() {
|
||||
exit -1
|
||||
}
|
||||
|
||||
if [ $EUID -ne 0 ]
|
||||
then echo "This script must be run with sudo"
|
||||
exit
|
||||
fi
|
||||
|
||||
############################################################################
|
||||
# Check passed parameters, set defaults
|
||||
############################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user