Fix error message output in power.sh

This commit is contained in:
Kroese 2025-10-19 17:56:15 +02:00 committed by GitHub
parent 620394fe69
commit 6c3b798dd4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,7 +53,7 @@ finish() {
[ ! -s "$QEMU_PID" ] && break
if [ "$cnt" == "5" ]; then
error "QEMU did not terminate itself, forcefully killing process..."
echo && error "QEMU did not terminate itself, forcefully killing process..."
{ kill -9 "$pid" || true; } 2>/dev/null
fi