From 69beca8f2b62022543bdb7c811c477e51dd57b06 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Sun, 15 Mar 2020 07:57:23 +0000 Subject: [PATCH] Use system.exec() to run "binkit.js install" rather than load(). binkit.js calls exit() when exits the parent script when called from a load()'d module. :-( Touch the fidoout.now sem file after creating the AreaFix netmail message. --- exec/init-fidonet.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/exec/init-fidonet.js b/exec/init-fidonet.js index 22f342019c..03058eb588 100644 --- a/exec/init-fidonet.js +++ b/exec/init-fidonet.js @@ -181,7 +181,7 @@ if(confirm("Download and install " + netname + " EchoList")) { /* INSTALL BINKIT */ /******************/ if(confirm("Install BinkIT")) { - load("binkit.js", "install"); + system.exec(system.exec_dir + "jsexec binkit install"); } /************************/ @@ -205,13 +205,14 @@ if(confirm("Create an AreaFix request to link ALL EchoMail areas with " exit(1); } msgbase.close(); - print("AreaFix NetMail message created successfully"); + file_touch(system.data_dir + "fidoout.now"); + print("AreaFix NetMail message created successfully."); } /***********************/ /* DISPLAY FINAL NOTES */ /***********************/ -print(netname + " initial setup completely successfully"); +print(netname + " initial setup completely successfully."); print(); if(your.node == 9999) { print("You used a temporary (e.g. /9999) node address. You will need to update your"); -- GitLab