fix: script perm check

This commit is contained in:
Strix 2023-10-22 22:07:58 +02:00
parent 7a850e79d9
commit a92a2aa1cc
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774

View file

@ -2,7 +2,7 @@
# remove skeleton **files** # remove skeleton **files**
if ! [ "$UID" = "0" ]; then if ! [ "$(id -u)" = "0" ]; then
echo "not root" echo "not root"
exit 1 exit 1
fi fi