Merge pull request #226 from resin-io/jviotti/feature/223/update-sudo

Clarify the need for admin privileges on update
This commit is contained in:
Juan Cruz Viotti 2015-10-15 07:40:15 -04:00
commit 055bac6ff4
2 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,8 @@
if (!exports.hasAvailableUpdate()) {
return;
}
return notifier.notify();
notifier.notify();
return console.log('Notice that you might need administrator privileges depending on your setup');
};
}).call(this);

View File

@ -14,3 +14,4 @@ exports.hasAvailableUpdate = ->
exports.notify = ->
return if not exports.hasAvailableUpdate()
notifier.notify()
console.log('Notice that you might need administrator privileges depending on your setup')