mirror of https://github.com/tteck/Proxmox.git
correct spelling
This commit is contained in:
parent
84865b7f3a
commit
f16fd89271
|
@ -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 New Issue