Jelajahi Sumber

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

Torrey Searle 5 tahun lalu
induk
melakukan
0a459f95ab
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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()
-```
+```