Переглянути джерело

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
 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:
 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`.
   * 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`
 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()
 KSR.set_drop()
 exit()
 exit()
-```
+```