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
0 | |
slay (2.7.1) UNRELEASED; urgency=medium
|
|
0 |
slay (3.0.0) UNRELEASED; urgency=medium
|
1 | 1 |
|
2 | 2 |
* Adopt the package. (Closes: #840054)
|
3 | 3 |
* Add Japanese debconf translation by victory. (Closes: #718997)
|
|
15 | 15 |
* Convert debian/copyright to machine-readable DEP5 format and add
|
16 | 16 |
myself.
|
17 | 17 |
* 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.
|
18 | 20 |
|
19 | 21 |
-- Axel Beckert <abe@debian.org> Sat, 08 Oct 2016 00:33:40 +0200
|
20 | 22 |
|
16 | 16 |
# 2.5 Debian specific updates
|
17 | 17 |
# 2.6 Properly slay oneself, fixed misleading error messages
|
18 | 18 |
# 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
|
19 | 20 |
|
20 | 21 |
PATH=/usr/sbin:/sbin:/usr/bin:/bin
|
21 | 22 |
export PATH
|
|
88 | 89 |
echo " Kills all processes belonging to any of the given names."
|
89 | 90 |
echo " Use -clean as a signal name to kill with TERM first and then with KILL."
|
90 | 91 |
fi
|
91 | |
exit -1
|
|
92 |
exit 127
|
92 | 93 |
fi
|
93 | 94 |
|
94 | 95 |
# Misuse trap.
|