summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xlibexec/container/start-qemu3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/container/start-qemu b/libexec/container/start-qemu
index c81e6f5..b7a9ca5 100755
--- a/libexec/container/start-qemu
+++ b/libexec/container/start-qemu
@@ -254,8 +254,9 @@ then
MEMORY="-m $(awk -Fmemory= '/^memory=/ { print $2 }' ${CONFIG}/${NAME}.conf)"
if [ -z "$(awk -Fserial= '/^serial=/ { print $2 }' ${CONFIG}/${NAME}.conf)" ]
+ then
SERIAL=""
- else if
+ else
SERIAL="-serial $(awk -Fserial= '/^serial=/ { print $2 }' ${CONFIG}/${NAME}.conf)"
fi