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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user