From 4b2ffced088c16fab3660444f596d14063122205 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 1 May 2022 00:02:24 +0200 Subject: Adding upstream version 20220430. Signed-off-by: Daniel Baumann --- dehydrated/share/hooks/exit_hook.fix-permissions | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dehydrated/share/hooks/exit_hook.fix-permissions') diff --git a/dehydrated/share/hooks/exit_hook.fix-permissions b/dehydrated/share/hooks/exit_hook.fix-permissions index 1e089f7..6a1958d 100755 --- a/dehydrated/share/hooks/exit_hook.fix-permissions +++ b/dehydrated/share/hooks/exit_hook.fix-permissions @@ -21,6 +21,11 @@ set -e +if [ ! -e /var/lib/dehydrated/certs ] +then + exit 0 +fi + echo " + Fixing permissions..." if getent group ssl-cert > /dev/null 2>&1 -- cgit v1.2.3