mirror of
https://github.com/tw93/Mole.git
synced 2026-02-04 16:49:41 +00:00
Well-structured output
This commit is contained in:
@@ -501,7 +501,6 @@ uninstall_applications() {
|
||||
done
|
||||
|
||||
# Show final summary
|
||||
echo ""
|
||||
echo -e "${PURPLE}▶ Uninstallation Summary${NC}"
|
||||
|
||||
if [[ $total_size_freed -gt 0 ]]; then
|
||||
@@ -527,6 +526,11 @@ cleanup() {
|
||||
leave_alt_screen
|
||||
unset MOLE_ALT_SCREEN_ACTIVE
|
||||
fi
|
||||
if [[ -n "${sudo_keepalive_pid:-}" ]]; then
|
||||
kill "$sudo_keepalive_pid" 2>/dev/null || true
|
||||
wait "$sudo_keepalive_pid" 2>/dev/null || true
|
||||
sudo_keepalive_pid=""
|
||||
fi
|
||||
show_cursor
|
||||
exit "${1:-0}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user