dispvm: fix zenity arguments for error message

This commit is contained in:
Marek Marczykowski 2013-05-16 15:53:29 +02:00
parent 6009ac5021
commit 8efba3092c

View File

@ -82,7 +82,7 @@ class QfileDaemonDvm:
if os.path.exists('/usr/bin/kdialog'):
subprocess.call(['/usr/bin/kdialog', '--sorry', 'DisposableVM creation failed, see qubes-restore.log'])
else:
subprocess.call(['/usr/bin/zenity', '--warning', 'DisposableVM creation failed, see qubes-restore.log'])
subprocess.call(['/usr/bin/zenity', '--warning', '--text', 'DisposableVM creation failed, see qubes-restore.log'])
qvm_collection.unlock_db()
return None
f = open('/var/run/qubes/dispVM.xid', 'r');