mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
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…
x
Reference in New Issue
Block a user