fix
This commit is contained in:
parent
3b82c3aaab
commit
9cc83b42a3
1 changed files with 5 additions and 1 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue