mirror of
https://github.com/dockur/windows.git
synced 2026-08-03 20:47:12 +01:00
fix: Resolve shellcheck warnings (#1905)
This commit is contained in:
@@ -22,6 +22,8 @@ _trap() {
|
||||
TRAP_PID=$BASHPID
|
||||
|
||||
for sig; do
|
||||
# Capture the local callback and signal while registering the trap.
|
||||
# shellcheck disable=SC2064
|
||||
trap "$func $sig" "$sig"
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user