From 1174282660800f3c5ee7998839543708ae1b5b2a Mon Sep 17 00:00:00 2001 From: Radomir Ochtyra <32648297+radomuc@users.noreply.github.com> Date: Mon, 14 Mar 2022 23:00:22 +0100 Subject: [PATCH] fix code duplication --- quickemu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quickemu b/quickemu index be74870..63f991d 100755 --- a/quickemu +++ b/quickemu @@ -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