From 6d3812d1d0b31bcee43a366cc9cbc17239c7fd67 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 14 Jan 2024 00:37:36 +0100 Subject: [PATCH] fix: Remove cat (#562) --- src/entry.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entry.sh b/src/entry.sh index 015c00a..569660b 100755 --- a/src/entry.sh +++ b/src/entry.sh @@ -24,7 +24,7 @@ fi [[ "$DEBUG" == [Yy1]* ]] && info "$VERS" && echo "Arguments: $ARGS" && echo { qemu-system-x86_64 ${ARGS:+ $ARGS} >"$QEMU_OUT" 2>"$QEMU_LOG"; rc=$?; } || : -(( rc != 0 )) && error "$(cat "$QEMU_LOG")" && exit 15 +(( rc != 0 )) && error "$(<"$QEMU_LOG")" && exit 15 terminal tail -fn +0 "$QEMU_LOG" 2>/dev/null &