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
diff options
context:
space:
mode:
authorErica Portnoy <ebportnoy@gmail.com>2020-07-14 05:04:06 +0300
committerErica Portnoy <ebportnoy@gmail.com>2020-07-14 05:04:06 +0300
commit2351260d1d1d16c15e938b0adfbce056d0969b26 (patch)
treeca81341d5144d175f91443f1cff389ea65f3b7f8
parent3f5c473a6aaab9c3c4f56c5103c403b9d2e3152c (diff)
ok NOW all print statements are going to the log
-rw-r--r--certbot-dns-dnsimple/snap/hooks/post-refresh2
-rw-r--r--certbot-dns-dnsimple/snap/hooks/pre-refresh2
2 files changed, 2 insertions, 2 deletions
diff --git a/certbot-dns-dnsimple/snap/hooks/post-refresh b/certbot-dns-dnsimple/snap/hooks/post-refresh
index 5fd583999..c4dae2307 100644
--- a/certbot-dns-dnsimple/snap/hooks/post-refresh
+++ b/certbot-dns-dnsimple/snap/hooks/post-refresh
@@ -8,7 +8,7 @@ if [ -z "$cb_installed" ]; then
exit 0
fi
-echo "cb_installed: $cb_installed" > "$SNAP_DATA/debuglog"
+echo "cb_installed: $cb_installed" > "$SNAP_DATA/debuglog" > "$SNAP_DATA/debuglog"
# get required certbot version for plugin
cb_required=$(grep -oP "certbot>=\K.*(?=')" $SNAP/setup.py)
diff --git a/certbot-dns-dnsimple/snap/hooks/pre-refresh b/certbot-dns-dnsimple/snap/hooks/pre-refresh
index 04d095d24..a253115a6 100644
--- a/certbot-dns-dnsimple/snap/hooks/pre-refresh
+++ b/certbot-dns-dnsimple/snap/hooks/pre-refresh
@@ -8,7 +8,7 @@ if [ -z "$first_install" ]; then
fi
echo "ls $SNAP/certbot-shared:" > "$SNAP_DATA/debuglog"
-ls $SNAP/certbot-shared
+ls $SNAP/certbot-shared > "$SNAP_DATA/debuglog"
cb_installed=$(grep -oP "__version__ = '\K.*(?=')" $SNAP/certbot-shared/__init__.py)
echo "cb_installed: $cb_installed" > "$SNAP_DATA/debuglog"
snapctl set cb-installed="$cb_installed"