whoops ... s/and/or/
This commit is contained in:
parent
bf9c2dc6a5
commit
94e010e4d1
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ _setlistener("/sim/signals/nasal-dir-initialized", func {
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
var f = split(" ", line);
|
var f = split(" ", line);
|
||||||
if(size(f) < 3 or (f[0] != "READ" and f[0] != "WRITE") and (f[1] != "DENY" and f[1] != "ALLOW")) {
|
if(size(f) < 3 or (f[0] != "READ" and f[0] != "WRITE") or (f[1] != "DENY" and f[1] != "ALLOW")) {
|
||||||
printlog("alert", "ERROR: invalid io.open() rule in ", path, ", line ", no, ": ", line);
|
printlog("alert", "ERROR: invalid io.open() rule in ", path, ", line ", no, ": ", line);
|
||||||
read_rules = write_rules = [];
|
read_rules = write_rules = [];
|
||||||
break; # don't use die() or return, as io.open() has yet to be redefined
|
break; # don't use die() or return, as io.open() has yet to be redefined
|
||||||
|
|
Loading…
Add table
Reference in a new issue