mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-05 18:50:09 +02:00
Check for libvirt specific shutoff message
This commit is contained in:
parent
9f9f0d1a16
commit
9ee96117d8
@ -473,7 +473,7 @@ while not ready:
|
||||
sys.exit(1)
|
||||
for line in out.splitlines():
|
||||
if line.startswith("default"):
|
||||
if line.find("poweroff") != -1:
|
||||
if line.find("poweroff") != -1 or line.find("shutoff") != 1:
|
||||
ready = True
|
||||
else:
|
||||
print("Status: " + line)
|
||||
|
Loading…
Reference in New Issue
Block a user