WOL fix again - this time with correct number of braces...
This commit is contained in:
parent
661a50b123
commit
c646596a5d
|
@ -35,7 +35,9 @@ module.exports = function(RED) {
|
|||
node.log("sent WOL magic packet");
|
||||
}
|
||||
});
|
||||
} catch(e) { if (RED.settings.verbose) { node.log("WOL: socket error"); }
|
||||
} catch(e) {
|
||||
if (RED.settings.verbose) { node.log("WOL: socket error"); }
|
||||
}
|
||||
}
|
||||
else { node.warn('WOL: bad mac address "'+mac+'"'); }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue