Skip to content

Commit 7b0a488

Browse files
committedMay 17, 2018
Fix for Node 0.8 thru 0.10
1 parent b2124ef commit 7b0a488

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/linux.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var execFile = require('child_process').execFile;
22

33
module.exports = function (iface, callback) {
4-
execFile("cat", ["/sys/class/net/", iface, "/address"], function (err, out) {
4+
execFile("cat", ["/sys/class/net/" + iface + "/address"], function (err, out) {
55
if (err) {
66
callback(err, null);
77
return;

0 commit comments

Comments
 (0)