Quellcode durchsuchen

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

Torrey Searle vor 5 Jahren
Ursprung
Commit
0a459f95ab
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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()
-```
+```