mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-11-30 19:57:46 +01:00
Initial devel branch import from bash-3.0-alpha
This commit is contained in:
1 parent
7117c2d221
commit
d3a24ed242
261 files changed
+24280
-6327
No files matched your search
@@ -8,7 +8,7 @@ function check_exit_status ()
|
||||
local status="$?"
|
||||
local signal=""
|
||||
|
||||
if [ ${status} -ne 0 -a ${status} != 128 ]; then
|
||||
if [ ${status} -ne 0 ] && [ ${status} != 128 ]; then
|
||||
# If process exited by a signal, determine name of signal.
|
||||
if [ ${status} -gt 128 ]; then
|
||||
signal="$(builtin kill -l $((${status} - 128)) 2>/dev/null)"
|
||||
|
||||
Reference in new issue
Block a user