From a4e8e4dbccd6fd64f7e31cf7527e9a8bd0bfe806 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Glondu?= Date: Fri, 9 Aug 2019 07:16:46 +0200 Subject: dgit: Fix on NFS (avoid leaking an open file in a directory to rm) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The file debian/source/format was open by "dgit fetch" but never closed, causing failure to remove the extracted tree on NFS. Closes: #933827 Signed-off-by: Stéphane Glondu Signed-off-by: Ian Jackson --- dgit | 1 + 1 file changed, 1 insertion(+) diff --git a/dgit b/dgit index 4bd2e05..0775a7c 100755 --- a/dgit +++ b/dgit @@ -4024,6 +4024,7 @@ sub get_source_format () { } $_ = ; F->error and confess "$!"; + close F; chomp; return ($_, \%options); } -- cgit v1.2.3