Skip to content
Snippets Groups Projects
Commit ed127f74 authored by rswindell's avatar rswindell
Browse files

Fix typos in install() function that caused this error:

line 1040: TypeError: ini.GetObject is not a function
parent 69184d66
Branches
Tags
No related merge requests found
......@@ -1074,7 +1074,7 @@ function install()
ini = new File(file_cfgname(system.ctrl_dir, "services.ini"));
if (!ini.open(file_exists(ini.name) ? 'r+':'w+'))
return ini.name + " open error " + ini.error;
if(!ini.GetObject("BINKP") && !ini.GetObject("BINKIT")) {
if(!ini.iniGetObject("BINKP") && !ini.iniGetObject("BINKIT")) {
printf("Updating %s\r\n", ini.name);
var section = "BINKP";
ini.iniSetValue(section, "Enabled", true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment