From d04d61eb137cb866bf848b878a53cd4513ce566f Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 17 Oct 2014 12:59:10 +0200 Subject: g-i-installation: detect 'Reached target Shutdown' in output and act accordingly --- bin/g-i-installation.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/g-i-installation.sh') diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh index df50aa8f..ebcc876b 100755 --- a/bin/g-i-installation.sh +++ b/bin/g-i-installation.sh @@ -908,6 +908,7 @@ monitor_system() { rm $GOCR $GOCR.ppm if [[ "$LAST_LINE" =~ .*Power\ down.* ]] || [[ "$LAST_LINE" =~ .*System\ halted.* ]] || + [[ "$LAST_LINE" =~ .*Reached target Shutdown.* ]] || [[ "$LAST_LINE" =~ .*Cannot\ .inalize\ remaining\ .ile\ systems.* ]]; then echo "QEMU was powered down." break -- cgit v1.2.3-54-g00ecf