From d716c73f7cdcc663d4cc1ac0b9e47cfb856a9044 Mon Sep 17 00:00:00 2001 From: Steven Chamberlain Date: Sat, 2 May 2015 21:07:36 +0100 Subject: g-i: fix bug in detecting when qemu has quit If running on VNC :1, this grep would also match :11, :12,: 13 etc. and likely not realise qemu on VNC :1 has quit. --- bin/g-i-installation.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/g-i-installation.sh') diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh index ea809656..e845356a 100755 --- a/bin/g-i-installation.sh +++ b/bin/g-i-installation.sh @@ -1027,7 +1027,7 @@ monitor_system() { # # break if qemu-system has finished # - if ! ps fax | grep [q]emu-system | grep vnc=$DISPLAY >/dev/null; then + if ! ps fax | grep [q]emu-system | grep "vnc=$DISPLAY " >/dev/null; then touch $RESULTS/qemu_quit break fi -- cgit v1.2.3-54-g00ecf