fix code duplication

This commit is contained in:
Radomir Ochtyra 2022-03-14 23:00:22 +01:00 committed by Martin Wimpress
parent 29efdbbdc0
commit 1174282660

View File

@ -1702,11 +1702,11 @@ fi
if [ $VM_UP -eq 0 ]; then
vm_boot
start_viewer
[ -n "${MONITOR_CMD}" ] && monitor_send_cmd "${MONITOR_CMD}"
else
parse_ports_from_file
start_viewer
[ -n "${MONITOR_CMD}" ] &&monitor_send_cmd "${MONITOR_CMD}"
fi
[ -n "${MONITOR_CMD}" ] && monitor_send_cmd "${MONITOR_CMD}"
# vim:tabstop=2:shiftwidth=2:expandtab