From adf4aef5179d03998dc82163c4562a4929989217 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Wed, 14 Oct 2015 13:45:08 -0400 Subject: [PATCH] Clarify the need for admin privileges on update Fixes: https://github.com/resin-io/resin-cli/issues/223 --- build/utils/update.js | 3 ++- lib/utils/update.coffee | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/build/utils/update.js b/build/utils/update.js index 8a7591f9..f5df4263 100644 --- a/build/utils/update.js +++ b/build/utils/update.js @@ -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); diff --git a/lib/utils/update.coffee b/lib/utils/update.coffee index 9d4aa8c5..340bd975 100644 --- a/lib/utils/update.coffee +++ b/lib/utils/update.coffee @@ -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')