Skip to content

Commit

Permalink
avoid double creation of monitor fifo
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Aug 22, 2018
1 parent 3591fe3 commit 2cfbc3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-vm-kvm
Expand Up @@ -242,7 +242,7 @@ vm_startup_kvm() {
fi
elif test -n "$VM_CONSOLE_INPUT" ; then
qemu_args=("${qemu_args[@]}" -serial mon:stdio)
else
elif ! test -e "${VM_ROOT}.qemu/monitor"; then
mkdir -p "${VM_ROOT}.qemu"
mkfifo "${VM_ROOT}.qemu/monitor"
chown "$VM_USER" "${VM_ROOT}.qemu"
Expand Down

0 comments on commit 2cfbc3a

Please sign in to comment.