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

Fixed check for local system in system list.

parent 0f340714
No related branches found
No related tags found
No related merge requests found
......@@ -33,11 +33,13 @@ for(i in list) {
break;
while(list[i].charAt(0)==' ') // skip prepended spaces
list[i] = list[i].slice(1);
if(list[i].charAt(0)==';' || // comment?
list[i] == system.inetaddr) // local system?
continue; // ignore
word = list[i].split(/\s+/);
if(word[0].charAt(0)==';' || // comment?
word[0] == system.inetaddr) // local system?
continue; // ignore
sys.push( { addr: word[0], ip : word[1], failed: false } );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment