Skip to content

Commit 3bd2b6d

Browse files
authored
Merge pull request #18 from bermanboris/patch-2
2 parents 0965a1b + 66921fc commit 3bd2b6d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

node_helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module.exports = NodeHelper.create({
2222

2323
// Since on 64 bit OS's like Raspbian, path to vcgencmd is different
2424
// we need to adjust it accordingly
25-
if (fs.existsSync(path) === false) {
25+
if (fs.existsSync(command) === false) {
2626
command = "/usr/bin/vcgencmd measure_temp"
2727
}
2828

0 commit comments

Comments
 (0)