1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-09 08:29:20 +00:00

fix(uninstall): warm inline metadata and harden sudo remove

This commit is contained in:
tw93
2026-02-07 17:44:23 +08:00
parent 425f23a739
commit f0c320e714
3 changed files with 51 additions and 2 deletions

View File

@@ -365,7 +365,7 @@ safe_sudo_remove() {
fi
local output
local ret
local ret=0
output=$(sudo rm -rf "$path" 2>&1) || ret=$? # safe_remove
if [[ $ret -eq 0 ]]; then