root/shrink
All checks were successful
/ job (push) Successful in 4m28s

This commit is contained in:
Marc Beninca 2025-07-03 22:18:02 +02:00
parent bb8bedae27
commit 2a9169947e
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -51,11 +51,7 @@ rwx_remove() {
rwx_root() { rwx_root() {
local user_id local user_id
user_id="$(id --user)" user_id="$(id --user)"
if [ "${user_id}" -eq 0 ]; then [ "${user_id}" -eq 0 ] || return 1
return 0
else
return 1
fi
} }
rwx_warn_wipe() { rwx_warn_wipe() {