Skip to content

Commit

Permalink
tools/qvm-kill: don't use deprecated force_shutdown method
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarek committed Mar 9, 2017
1 parent 6939604 commit e0af402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qubesmgmt/tools/qvm_kill.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit e0af402

Please sign in to comment.