summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2023-02-04 13:48:12 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2023-02-04 14:26:04 +0000
commit620f1c31eda3d1245813900117c6876aec05d308 (patch)
tree6290004bc1ab1bdfd88b8e72a2dfec7710d5d54c
parent425fd7728060e72bb29299561fc5e3347b480bcb (diff)
dgit: Fix a call to die to be confess, if an unexpected copy fails
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rwxr-xr-xdgit2
1 files changed, 1 insertions, 1 deletions
diff --git a/dgit b/dgit
index ed1233c..98e88c2 100755
--- a/dgit
+++ b/dgit
@@ -2771,7 +2771,7 @@ END
if ($use_absurd) {
File::Copy::copy("../../absurd-apply-warnings", \*STDERR)
- or die $!;
+ or confess $!;
}
};
last unless $@;