Clarify the need for admin privileges on update

Fixes: https://github.com/resin-io/resin-cli/issues/223
This commit is contained in:
Juan Cruz Viotti 2015-10-14 13:45:08 -04:00
parent a17bb2cc09
commit adf4aef517
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')