aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-03-30 17:47:32 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-03-30 17:47:32 +0300
commitb5b6815c29dacefbe77385b8f6c0e5aad201f9b2 (patch)
tree2b890f425958263c05206677964b39cb741a2e75 /api
parent85a6991d762591fd523155c9671216601c3d60e7 (diff)
downloadarching-kaos-tools-b5b6815c29dacefbe77385b8f6c0e5aad201f9b2.tar.gz
arching-kaos-tools-b5b6815c29dacefbe77385b8f6c0e5aad201f9b2.tar.bz2
arching-kaos-tools-b5b6815c29dacefbe77385b8f6c0e5aad201f9b2.zip
Minor rename
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 {