Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/snap
diff options
context:
space:
mode:
authorohemorange <ebportnoy@gmail.com>2020-09-30 22:43:24 +0300
committerGitHub <noreply@github.com>2020-09-30 22:43:24 +0300
commitfca7ec896a9b2813ec7cbfefe9251d70d106f61d (patch)
tree14f0474b28a2aa22aa1082d91dc60a194d6cfa41 /snap
parente066766cc97adec395d93f0644ffa20be8cb0e20 (diff)
Improve error message for prepare-plug-plugin hook when certbot isn't installed (#8338)
Provides a partial fix for #8182 by improving the error message.
Diffstat (limited to 'snap')
-rw-r--r--snap/hooks/prepare-plug-plugin5
1 files changed, 3 insertions, 2 deletions
diff --git a/snap/hooks/prepare-plug-plugin b/snap/hooks/prepare-plug-plugin
index f2f7ff86b..045299e04 100644
--- a/snap/hooks/prepare-plug-plugin
+++ b/snap/hooks/prepare-plug-plugin
@@ -5,7 +5,8 @@ if [ "$(snapctl get trust-plugin-with-root)" = "ok" ]; then
snapctl unset trust-plugin-with-root
exit 0
else
- echo "Only connect this interface if you trust the plugin author to have root on the system"
- echo "Run \`snap set $SNAP_NAME trust-plugin-with-root=ok\` to acknowledge this and then run this command again to perform the connection"
+ echo "Only connect this interface if you trust the plugin author to have root on the system."
+ echo "Run \`snap set $SNAP_NAME trust-plugin-with-root=ok\` to acknowledge this and then run this command again to perform the connection."
+ echo "If that doesn't work, you may need to remove all certbot-dns-* plugins from the system, then try installing the certbot snap again."
exit 1
fi