check users do not show delete from group if nothing has to be done

This commit is contained in:
Clemens Schwaighofer
2022-11-02 15:16:22 +09:00
parent 94a970d54b
commit 37f9f4429d

View File

@@ -73,8 +73,10 @@ for user in $(cat /etc/group|grep "${ssh_group}:" | cut -d ":" -f 4 | sed -e 's/
fi; fi;
printf "* Checking user %-20s: %s\n" "${user}" "${out_string}"; printf "* Checking user %-20s: %s\n" "${user}" "${out_string}";
done; done;
echo "--------------------->" if [ ! -z "${delete_accounts}" ]; then
echo ${delete_accounts}; echo "--------------------->"
echo ${delete_accounts};
fi;
echo "[END] ===============>" echo "[END] ===============>"
# __END__ # __END__