From aae281560aaba1950b00f66175b78fd7d7128c47 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Fri, 29 Nov 2013 11:23:28 -0800 Subject: [PATCH] we need to unlink the temporary file name, not the temporary file handle --- Debbugs/Libravatar.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Debbugs/Libravatar.pm b/Debbugs/Libravatar.pm index 99184ec..8dcbad0 100644 --- a/Debbugs/Libravatar.pm +++ b/Debbugs/Libravatar.pm @@ -159,7 +159,7 @@ sub retrieve_libravatar{ $temp_fn, $cache_location.'.'.$dest_type) == 0 or die "convert file failed"; - unlink($temp_fh); + unlink($temp_fn); }; if ($@) { unlink($cache_location.'.'.$dest_type) if -e $cache_location.'.'.$dest_type; -- 2.39.2