Adding `SIG` to signal name, removing `-` sign.
This commit is contained in:
parent
2a7f3966c2
commit
ad74199822
|
@ -1146,7 +1146,7 @@ exit_code_or_status() {
|
||||||
else
|
else
|
||||||
local sig=$(( ec - 128 ))
|
local sig=$(( ec - 128 ))
|
||||||
local idx=$(( sig + 1 ))
|
local idx=$(( sig + 1 ))
|
||||||
echo "${signals[$idx]}(-${sig})"
|
echo "SIG${signals[$idx]}(${sig})"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue