Skip to content

Commit

Permalink
Fix for Node 0.8 thru 0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Logikgate committed May 17, 2018
1 parent b2124ef commit 7b0a488
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/linux.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var execFile = require('child_process').execFile;

module.exports = function (iface, callback) {
execFile("cat", ["/sys/class/net/", iface, "/address"], function (err, out) {
execFile("cat", ["/sys/class/net/" + iface + "/address"], function (err, out) {
if (err) {
callback(err, null);
return;
Expand Down

0 comments on commit 7b0a488

Please sign in to comment.