Skip to content

Commit

Permalink
(bluefox) fix controller update
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanBluefox committed Jan 4, 2015
1 parent 9e57673 commit cdd3c32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ function upgradeAdapter(repoUrl, adapter, forceDowngrade, callback) {

function setChmod(callback) {
var platform = require('os').platform();
console.log('Host "' + hostname + '"(' + platform + ') updated');
console.log('Host "' + require('os').hostname() + '" (' + platform + ') updated');
// Call command chmod +x __dirname if under linux or darwin
if (platform == 'linux' || platform == 'darwin') {
var exec = require('child_process').exec;
Expand Down

0 comments on commit cdd3c32

Please sign in to comment.