fix: script perm check
This commit is contained in:
parent
7a850e79d9
commit
a92a2aa1cc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue