This commit is contained in:
parent
bb8bedae27
commit
2a9169947e
1 changed files with 1 additions and 5 deletions
|
@ -51,11 +51,7 @@ rwx_remove() {
|
|||
rwx_root() {
|
||||
local user_id
|
||||
user_id="$(id --user)"
|
||||
if [ "${user_id}" -eq 0 ]; then
|
||||
return 0
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
[ "${user_id}" -eq 0 ] || return 1
|
||||
}
|
||||
|
||||
rwx_warn_wipe() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue