mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-04-08 03:44:13 +00:00
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:
commit
055bac6ff4
@ -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);
|
||||
|
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user