Adding `SIG` to signal name, removing `-` sign.

pull/22/head
Ben Hilburn 7 years ago
parent 2a7f3966c2
commit ad74199822

@ -1146,7 +1146,7 @@ exit_code_or_status() {
else
local sig=$(( ec - 128 ))
local idx=$(( sig + 1 ))
echo "${signals[$idx]}(-${sig})"
echo "SIG${signals[$idx]}(${sig})"
fi
}

Loading…
Cancel
Save