correct spelling
This commit is contained in:
parent
84865b7f3a
commit
f16fd89271
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ trap cleanup EXIT
|
||||||
|
|
||||||
function error_exit() {
|
function error_exit() {
|
||||||
trap - ERR
|
trap - ERR
|
||||||
local reason="Unknown failure occured."
|
local reason="Unknown failure occurred."
|
||||||
local msg="${1:-$reason}"
|
local msg="${1:-$reason}"
|
||||||
local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE"
|
local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE"
|
||||||
echo -e "$flag $msg" 1>&2
|
echo -e "$flag $msg" 1>&2
|
||||||
|
|
Loading…
Reference in a new issue