[lintian] 02/04: L::Util: Throw the correct error
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit d6c1de7b9ec96730eac63358b1f62953cf9fc935
Author: Niels Thykier <niels@thykier.net>
Date: Wed Jan 20 22:20:54 2016 +0000
L::Util: Throw the correct error
Signed-off-by: Niels Thykier <niels@thykier.net>
---
lib/Lintian/Util.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/Lintian/Util.pm b/lib/Lintian/Util.pm
index 0e729f3..0b198df 100644
--- a/lib/Lintian/Util.pm
+++ b/lib/Lintian/Util.pm
@@ -1602,7 +1602,7 @@ sub save_state_cache {
no autodie qw(unlink);
unlink($tmp_path);
}
- die($@);
+ die($err);
}
return 1;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: