tools/qvm-kill: don't use deprecated force_shutdown method
QubesOS/qubes-issues#853
This commit is contained in:
parent
69396040fd
commit
e0af402c16
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user