explicitly set root on sudo command, just being verbose no change in functionality
This commit is contained in:
parent
9f69f46a0b
commit
848fd67d87
|
@ -4,8 +4,7 @@
|
||||||
|
|
||||||
# any script that includes this conf file will force user to be root
|
# any script that includes this conf file will force user to be root
|
||||||
if [ "$USER" != "root" ]; then
|
if [ "$USER" != "root" ]; then
|
||||||
#exec sudo -u root $0 $@
|
exec sudo -u root $0 $@
|
||||||
exec sudo $0 $@
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# constants
|
# constants
|
||||||
|
|
Loading…
Reference in New Issue
Block a user