diff options
Diffstat (limited to 'dehydrated/share/hooks/exit_hook.fix-permissions')
-rwxr-xr-x | dehydrated/share/hooks/exit_hook.fix-permissions | 5 |
1 files changed, 5 insertions, 0 deletions
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 |