diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-10-17 12:59:10 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-10-17 12:59:10 +0200 |
commit | d04d61eb137cb866bf848b878a53cd4513ce566f (patch) | |
tree | 6ef4a89c57f71c4cb4c140de4a8904c0aa92e90d /bin/g-i-installation.sh | |
parent | 890412ce5c0c1d2224c269567508bf9a82145da2 (diff) | |
download | jenkins.debian.net-d04d61eb137cb866bf848b878a53cd4513ce566f.tar.xz |
g-i-installation: detect 'Reached target Shutdown' in output and act accordingly
Diffstat (limited to 'bin/g-i-installation.sh')
-rwxr-xr-x | bin/g-i-installation.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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 |