Skip to content

Commit

Permalink
(bluefox) fix restart by installing.
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanBluefox committed Jul 26, 2015
1 parent dff1de9 commit 9295ba6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -2327,9 +2327,9 @@ function checkRestartOther(adapter, callback) {
});
} else {
if (err) {
console.error('Cannot restart adapter "' + obj._id + ': ' + err);
console.error('Cannot restart adapter "' + (obj ? obj._id : '') + ': ' + err);
} else {
console.warn('Adapter "' + obj._id + ' is disabled and cannot be restarted.');
console.warn('Adapter "' + (obj ? obj._id : '') + ' is disabled and cannot be restarted.');
}
callback();
}
Expand Down

0 comments on commit 9295ba6

Please sign in to comment.