From 6478fa4412dfb55236235caad06669dec910c83d Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 17 Apr 2023 04:12:57 +0200 Subject: [PATCH] Show curl errors --- run/power.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run/power.sh b/run/power.sh index 8473fc0..df707d3 100644 --- a/run/power.sh +++ b/run/power.sh @@ -42,7 +42,7 @@ _graceful_shutdown(){ # echo 'system_powerdown' | nc -q 1 -w 1 localhost "${QEMU_MONPORT}">/dev/null # Send shutdown command to guest agent tools instead via serial port - RESPONSE=$(curl -s -m 2 -S http://127.0.0.1:2210/write?command=6 2>&1) + RESPONSE=$(curl -s -m 3 -S http://127.0.0.1:2210/write?command=6) if [[ ! "${RESPONSE}" =~ "\"success\"" ]] ; then