瀏覽代碼

Fix function name typo when dying from unknown handler

Alois Mahdal 7 年之前
父節點
當前提交
dc71316841
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/imapdomo.skel

+ 1
- 1
src/imapdomo.skel 查看文件

@@ -94,7 +94,7 @@ main() {
94 94
     Action="$1"; shift
95 95
     debug -v Action CfgDir LogDir HeaderDir Debug CdTo
96 96
     lshandlers | grep -qw "$Action" \
97
-     || dle "no handler for action: $Action.lua in $IMAPDOMO_HOME/handlers"
97
+     || die "no handler for action: $Action.lua in $IMAPDOMO_HOME/handlers"
98 98
     cmd=$(mkcmd)
99 99
     debug -v cmd
100 100
     bash -n <<<"$cmd" || bug "bad syntax of cmd: '$cmd'"