Codebase list slay / c199719
Fix bashism "exit -1", replace it with "exit 127" Closes: #772367 This is a potentially breaking change, hence bumping the major version. Axel Beckert 7 years ago
2 changed file(s) with 5 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
0 slay (2.7.1) UNRELEASED; urgency=medium
0 slay (3.0.0) UNRELEASED; urgency=medium
11
22 * Adopt the package. (Closes: #840054)
33 * Add Japanese debconf translation by victory. (Closes: #718997)
1515 * Convert debian/copyright to machine-readable DEP5 format and add
1616 myself.
1717 * Fix typo in version history in source code.
18 * Fix bashism "exit -1", replace it with "exit 127". (Closes: #772367)
19 + This is a potentially breaking change, hence bumping major version.
1820
1921 -- Axel Beckert <abe@debian.org> Sat, 08 Oct 2016 00:33:40 +0200
2022
1616 # 2.5 Debian specific updates
1717 # 2.6 Properly slay oneself, fixed misleading error messages
1818 # 2.7 Set PATH to prevent all sorts of problems with it coming from outside
19 # 3.0 Exit with 127 instead of -1 in case of a missing parameter
1920
2021 PATH=/usr/sbin:/sbin:/usr/bin:/bin
2122 export PATH
8889 echo " Kills all processes belonging to any of the given names."
8990 echo " Use -clean as a signal name to kill with TERM first and then with KILL."
9091 fi
91 exit -1
92 exit 127
9293 fi
9394
9495 # Misuse trap.