1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-08 03:54:19 +00:00

chore: clarify spinner cleanup comment and disable shellcheck warning SC2329

This commit is contained in:
Tw93
2025-12-28 20:14:45 +08:00
parent ff6f288c9b
commit 906a8e3927

View File

@@ -255,7 +255,8 @@ start_inline_spinner() {
if [[ -t 1 ]]; then
(
# Clean exit handler for spinner subprocess
# Clean exit handler for spinner subprocess (invoked by trap)
# shellcheck disable=SC2329
cleanup_spinner() { exit 0; }
trap cleanup_spinner TERM INT EXIT