[Pkg-libvirt-commits] [libguestfs] 05/17: v2v: Don't use Unix.unlink since Unix module is open in this file.
Hilko Bengen
bengen at moszumanska.debian.org
Fri Oct 3 14:48:30 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag debian/1%1.27.55-1
in repository libguestfs.
commit dbff48de392717e36dd040a241d67462fdc68a14
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Fri Sep 26 10:05:30 2014 +0100
v2v: Don't use Unix.unlink since Unix module is open in this file.
Minor code refactor.
---
v2v/v2v.ml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/v2v/v2v.ml b/v2v/v2v.ml
index 55d0f2f..becc27c 100644
--- a/v2v/v2v.ml
+++ b/v2v/v2v.ml
@@ -271,7 +271,7 @@ let rec main () =
at_exit (fun () ->
if !delete_target_on_exit then (
List.iter (
- fun t -> try Unix.unlink t.target_file with _ -> ()
+ fun t -> try unlink t.target_file with _ -> ()
) targets
)
);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list