This commit is contained in:
Marc Beninca 2025-07-02 15:27:34 +02:00
parent 3b82c3aaab
commit 9cc83b42a3
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

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