From 6b509491412fbc15b00f084c1c2f686c1e1dbf07 Mon Sep 17 00:00:00 2001 From: Kroese Date: Tue, 11 Apr 2023 05:50:37 +0200 Subject: [PATCH] Fix trap signal --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 58ab79d..81bcb09 100755 --- a/run.sh +++ b/run.sh @@ -39,7 +39,7 @@ ARGS="-m ${RAM_SIZE} -smp ${CPU_CORES} -machine type=q35${KVM_ACC_OPTS} ${EXTRA_ set -m ( - for _SIGNAL in {1..64}; do trap 'echo Caught trap ${_SIGNAL} for the QEMU process' "${_SIGNAL}"; done + for _SIGNAL in {1..64}; do trap "echo Caught trap ${_SIGNAL} for the QEMU process" "${_SIGNAL}"; done qemu-system-x86_64 ${ARGS} & echo $! > ${_QEMU_PID} ) set +m