Update
This commit is contained in:
parent
2aecba7a69
commit
6a3a91462c
|
@ -17,7 +17,7 @@ if [[ "$UID" != 0 ]]; then
|
||||||
if [ "${group}" == "wheel" ] || [ "${group}" == "root" ]; then
|
if [ "${group}" == "wheel" ] || [ "${group}" == "root" ]; then
|
||||||
counter=$(( counter + 1 ))
|
counter=$(( counter + 1 ))
|
||||||
echo "The user '${USER}' is a member of the group ${group}"
|
echo "The user '${USER}' is a member of the group ${group}"
|
||||||
if [ ! -x "$0" ];
|
if [ ! -x "$0" ]; then
|
||||||
chmod +x "$0"
|
chmod +x "$0"
|
||||||
fi
|
fi
|
||||||
sudo /bin/sh -c "$0"
|
sudo /bin/sh -c "$0"
|
||||||
|
|
Loading…
Reference in New Issue