From f282e4eb449f4064bd39b21c6ddac53e98eeaebd Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Thu, 9 May 2024 02:16:04 +0100 Subject: [PATCH] fix(quickemu): resolve shellcheck SC2164 warning https://www.shellcheck.net/wiki/SC2164 --- quickemu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickemu b/quickemu index f2dbc94..accf6b9 100755 --- a/quickemu +++ b/quickemu @@ -1831,7 +1831,7 @@ if [ -n "${VM}" ] && [ -e "${VM}" ]; then VM_MONITOR_SOCKETPATH="${VMDIR}/${VMNAME}-monitor.socket" VM_SERIAL_SOCKETPATH="${VMDIR}/${VMNAME}-serial.socket" if [ ! -f "${disk_img}" ]; then - cd "${VMPATH}" + pushd "${VMPATH}" || exit fi # Backwards compatibility for ${driver_iso}