mirror of
https://github.com/acedanger/shell.git
synced 2025-12-05 22:50:18 -08:00
fix: Prevent script exit on benign errors from distrobox-upgrade during signal update
This commit is contained in:
@@ -587,7 +587,11 @@ update_signal() {
|
|||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
distrobox-upgrade signal
|
# Capture failure to prevent script exit due to set -e
|
||||||
|
# Known issue: distrobox-upgrade may throw a stat error at the end despite success
|
||||||
|
if ! distrobox-upgrade signal; then
|
||||||
|
log_message "WARN" "Signal update reported an error (likely benign 'stat' issue). Continuing..."
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|||||||
Reference in New Issue
Block a user