diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-10-13 11:34:04 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-10-13 15:25:13 +0100 |
commit | 049116e1810680275a42faba430fb2f798cb17d8 (patch) | |
tree | bdfabc26491462cdaaf5915dfb505566eab7fd46 /clone | |
parent | e57c3c37a8648966e19ef33832f353d0f9487a77 (diff) | |
download | libguestfs-049116e1810680275a42faba430fb2f798cb17d8.tar.gz libguestfs-049116e1810680275a42faba430fb2f798cb17d8.tar.xz libguestfs-049116e1810680275a42faba430fb2f798cb17d8.zip |
virt-sysprep: Trap ERR as well as EXIT.
Diffstat (limited to 'clone')
-rw-r--r-- | clone/virt-sysprep.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clone/virt-sysprep.in b/clone/virt-sysprep.in index 44488604..b6c8a404 100644 --- a/clone/virt-sysprep.in +++ b/clone/virt-sysprep.in @@ -180,7 +180,7 @@ cleanup () kill $GUESTFISH_PID >/dev/null 2>&1 ||: rm -rf "$tmpdir" ||: } -trap cleanup EXIT +trap cleanup EXIT ERR # Helper. gf="guestfish --remote --" |