summaryrefslogtreecommitdiff
path: root/Debian
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-10-01 15:18:31 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-10-01 15:18:31 +0100
commitd947ba40da3e61e61829d3b2c744d07d609407d2 (patch)
tree94bb02b3d1562fb73f7c2d95878fe87d940f84f7 /Debian
parentda9db1a284bd7573285f9745432a91bffc62592c (diff)
Dgit.pm: Improve getcwd failure message
Don't print the pointless line number in Dgit.pm. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'Debian')
-rw-r--r--Debian/Dgit.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Debian/Dgit.pm b/Debian/Dgit.pm
index 4b340d9..2e9fa64 100644
--- a/Debian/Dgit.pm
+++ b/Debian/Dgit.pm
@@ -312,7 +312,7 @@ sub ensuredir ($) {
sub must_getcwd () {
my $d = getcwd();
- defined $d or fail "getcwd failed: $!";
+ defined $d or fail "getcwd failed: $!\n";
return $d;
}