mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2026-11-11 00:40:07 +01:00
fix: Avoid shellcheck warning (#1311)
This commit is contained in:
1 parent
7a8f0041e7
commit
e6b68b2f08
1 file changed
+2
@@ -24,6 +24,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