]> xenbits.xensource.com Git - libvirt.git/commit
virsh: ensure SIGINT action is reset on all errors
authorMichael Chapman <mike@very.puzzling.org>
Wed, 27 Jan 2016 02:24:53 +0000 (13:24 +1100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 1 Feb 2016 17:04:48 +0000 (18:04 +0100)
commit8fa216bbb40df33e7fce5d727aa3dc334480878a
tree5cd58359b6eb56cc98c7edbc94ce260d50ffcb1b
parent15dee2ef24f2f19f6dcd30d997b81c8a14582361
virsh: ensure SIGINT action is reset on all errors

If virTimeMillisNow() fails, the SIGINT action must be reset back to
its previous state.

Signed-off-by: Michael Chapman <mike@very.puzzling.org>
tools/virsh-domain.c