From 1ed8d43f20128fb32a8e0d5f8a8ffbd60d38fd9b Mon Sep 17 00:00:00 2001 From: Rob Swindell <rob@synchro.net> Date: Wed, 11 Nov 2020 18:21:10 -0800 Subject: [PATCH] sutils.ini is locate in the exec directory, not the cwd (ctrl dir). --- exec/sutils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec/sutils.js b/exec/sutils.js index 7f6a1d0474..1058a94da4 100644 --- a/exec/sutils.js +++ b/exec/sutils.js @@ -10,7 +10,7 @@ print("* Synchronet Utilities v" + format("%-28s", REVIS print("* Use Ctrl-C to abort the process if desired *"); print("******************************************************************************"); -var file = new File("sutils.ini"); +var file = new File(system.exec_dir + "sutils.ini"); var categories; if(file.open("r")) { categories = file.iniGetObject('categories'); -- GitLab