id
This commit is contained in:
parent
0b0bce29dd
commit
0050d26e12
3 changed files with 10 additions and 7 deletions
|
@ -35,12 +35,6 @@ rwx_remove() {
|
|||
"${@}"
|
||||
}
|
||||
|
||||
rwx_root() {
|
||||
local user_id
|
||||
user_id="$(id --user)"
|
||||
[ "${user_id}" -eq 0 ] || return 1
|
||||
}
|
||||
|
||||
rwx_warn_wipe() {
|
||||
local tmp
|
||||
rwx_list_block
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue