summaryrefslogtreecommitdiff
path: root/dehydrated
diff options
context:
space:
mode:
Diffstat (limited to 'dehydrated')
-rwxr-xr-xdehydrated/cron.weekly/local-dehydrated2
-rwxr-xr-xdehydrated/hook.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/dehydrated/cron.weekly/local-dehydrated b/dehydrated/cron.weekly/local-dehydrated
index 2997440..26cbd4a 100755
--- a/dehydrated/cron.weekly/local-dehydrated
+++ b/dehydrated/cron.weekly/local-dehydrated
@@ -5,7 +5,7 @@
set -eu
# update non-EC maildomain cert if resolvable and not a certdomain
-maildomain=$(cat /etc/local-REDPILL/$(cat /etc/local-ORG/realm)/mailhost)
+maildomain=$(cat /etc/local-REDPILL/$(cat /etc/local-ORG/realm)/mailhost) || true
fqdn=$(hostname --fqdn)
[ -z "$fqdn" ] \
|| [ "$maildomain" = "$fqdn" ] \
diff --git a/dehydrated/hook.sh b/dehydrated/hook.sh
index 0b3f293..fd6be0a 100755
--- a/dehydrated/hook.sh
+++ b/dehydrated/hook.sh
@@ -4,7 +4,7 @@ set -e
ACTION=$1; shift
-REALM=$(cat /etc/local-ORG/realm)
+REALM=$(cat /etc/local-ORG/realm) || true
# resolve hostnames of service installed and registered with Redpill
servicehosts() {