aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rwxr-xr-xapi/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/index.js b/api/index.js
index 486cff8..cb6006a 100755
--- a/api/index.js
+++ b/api/index.js
@@ -128,8 +128,8 @@ function continuethingsNS(validitycode,sh,res,gotit){
* - on success we process with addEntriesToFile()
*
*/
-function continuethings(validitycode,sh,res){
- if (validitycode === 0){
+function continuethings(exitcode,sh,res){
+ if (exitcode === 0){
var entry = {zblock:sh};
addEntriesToFile(entry,res);
} else {