This commit is contained in:
Valeria Fadeeva 2025-01-06 15:26:05 +05:00
parent 2aecba7a69
commit 6a3a91462c
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ if [[ "$UID" != 0 ]]; then
if [ "${group}" == "wheel" ] || [ "${group}" == "root" ]; then
counter=$(( counter + 1 ))
echo "The user '${USER}' is a member of the group ${group}"
if [ ! -x "$0" ];
if [ ! -x "$0" ]; then
chmod +x "$0"
fi
sudo /bin/sh -c "$0"