浏览代码

kamailio-kemi-framework: kemimods - use sys.exit in python

Torrey Searle 5 年之前
父节点
当前提交
0a459f95ab
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      kamailio-kemi-framework/docs/kemimods.md

+ 2 - 2
kamailio-kemi-framework/docs/kemimods.md

@@ -40,7 +40,7 @@ KSR.x.exit();
 It is not exported by each KEMI interpreter module, in that case likely the scripting
 language has an `exit` function that can be used for this purpose. Respectively:
 
-  * for Python and Python3, use `exit()` or `os.exit()`.
+  * for Python and Python3, use `exit()` or `sys.exit()`.
   * for Ruby, use `exit`.
 
 In the case there is no `KSR.x.exit` and no usable `exit` in the KEMI scripting language, just do `return`
@@ -70,4 +70,4 @@ the execution of the KEMI callback function (see the notes for `KSR.x.exit`). Fo
 ```
 KSR.set_drop()
 exit()
-```
+```