mirror of
https://github.com/tw93/Mole.git
synced 2026-02-12 11:08:31 +00:00
fix: improve robustness of UI output commands by adding || true
This commit is contained in:
@@ -584,7 +584,7 @@ start_section_spinner() {
|
||||
stop_section_spinner() {
|
||||
stop_inline_spinner 2> /dev/null || true
|
||||
if [[ -t 1 ]]; then
|
||||
echo -ne "\r\033[K" >&2
|
||||
echo -ne "\r\033[K" >&2 || true
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user