Skip to content
Snippets Groups Projects
Commit 864c0171 authored by mcmlxxix's avatar mcmlxxix
Browse files

fix parameter loading

parent 41415ad8
Branches
Tags
No related merge requests found
......@@ -59,9 +59,12 @@ if(js.global.server==undefined) {
* */
/* service module initialization file */
var serviceIniFile = system.ctrl_dir + argv[0];
if(serviceIniFile == undefined)
var serviceIniFile;
if(file_exists(system.ctrl_dir + argv[0]))
serviceIniFile = system.ctrl_dir + argv[0];
else
serviceIniFile = system.ctrl_dir + "json-service.ini";
/* error values */
var errors = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment