mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-01-18 02:39:49 +00:00
Clarify the need for admin privileges on update
Fixes: https://github.com/resin-io/resin-cli/issues/223
This commit is contained in:
parent
a17bb2cc09
commit
adf4aef517
@ -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…
Reference in New Issue
Block a user