diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-10-01 15:18:31 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-10-01 15:18:31 +0100 |
commit | d947ba40da3e61e61829d3b2c744d07d609407d2 (patch) | |
tree | 94bb02b3d1562fb73f7c2d95878fe87d940f84f7 /Debian | |
parent | da9db1a284bd7573285f9745432a91bffc62592c (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.pm | 2 |
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; } |