mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
Merge branch 'libvirt-support' into 'master'
Check for libvirt specific shutoff message See merge request !262
This commit is contained in:
commit
e7e97654b1
1 changed files with 1 additions and 1 deletions
|
|
@ -473,7 +473,7 @@ while not ready:
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
for line in out.splitlines():
|
for line in out.splitlines():
|
||||||
if line.startswith("default"):
|
if line.startswith("default"):
|
||||||
if line.find("poweroff") != -1:
|
if line.find("poweroff") != -1 or line.find("shutoff") != 1:
|
||||||
ready = True
|
ready = True
|
||||||
else:
|
else:
|
||||||
print("Status: " + line)
|
print("Status: " + line)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue