mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
3.1.0(1)
This commit is contained in:
parent
ce3e17e244
commit
c07a7c0572
@ -48,7 +48,7 @@ function new_root_check {
|
||||
LOCALADMIN=""
|
||||
else
|
||||
# Check Sudo
|
||||
SUDOCHECK=$(groups ${CURRENTUSER} | grep 'sudo')
|
||||
SUDOCHECK=$(groups ${CURRENTUSER} | grep -e 'sudo' -e 'wheel')
|
||||
if [ "$SUDOCHECK" == "" ]
|
||||
then
|
||||
LOCALADMIN="nosudo"
|
||||
|
Loading…
x
Reference in New Issue
Block a user