diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-05-17 14:13:25 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-05-31 11:54:14 +0100 |
commit | ae4dea507387c90a796e2a752a717f8bc5ed1dae (patch) | |
tree | dcd9dd9d104cf32907bdf8a042585f0782149a7a /Debian/Dgit.pm | |
parent | 7684f83e49bdc4d883e682abd922a7722cf996c4 (diff) |
Infra: Exit statuses: work around bizarre behaviour of perl die wrt $?, and de-reserve policy hook status flag 0x80
Diffstat (limited to 'Debian/Dgit.pm')
-rw-r--r-- | Debian/Dgit.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Debian/Dgit.pm b/Debian/Dgit.pm index 3f2988e..e8d2608 100644 --- a/Debian/Dgit.pm +++ b/Debian/Dgit.pm @@ -36,10 +36,10 @@ our $branchprefix = 'dgit'; # policy hook exit status bits # see dgit-repos-server head comment for documentation -# 1 is reserved in case something fails with `exit 1' +# 1 is reserved in case something fails with `exit 1' and to spot +# dynamic loader, runtime, etc., failures, which report 127 or 255 sub NOFFCHECK () { return 0x2; } sub FRESHREPO () { return 0x4; } -# 0x80 is reserved sub debiantag ($) { my ($v) = @_; |