瀏覽代碼

correct spelling

tteckster 3 年之前
父節點
當前提交
73852c9113
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      vm/pimox-haos.sh

+ 1 - 1
vm/pimox-haos.sh

@@ -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