tools/qvm-kill: don't use deprecated force_shutdown method

QubesOS/qubes-issues#853
This commit is contained in:
Marek Marczykowski-Górecki 2017-03-09 02:06:11 +01:00
parent 69396040fd
commit e0af402c16
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -41,7 +41,7 @@ def main(args=None, app=None):
exit_code = 0
for domain in args.domains:
try:
domain.force_shutdown()
domain.kill()
except (IOError, OSError, qubesmgmt.exc.QubesException) as e:
exit_code = 1
parser.print_error(str(e))