diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-04-30 22:02:24 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-04-30 22:02:24 +0000 |
commit | 4b2ffced088c16fab3660444f596d14063122205 (patch) | |
tree | 34bef914328f7b6df83ddf515a645c27b667ebf0 /dehydrated/share/hooks/exit_hook.fix-permissions | |
parent | Adding upstream version 20220414. (diff) | |
download | open-infrastructure-service-tools-4b2ffced088c16fab3660444f596d14063122205.tar.xz open-infrastructure-service-tools-4b2ffced088c16fab3660444f596d14063122205.zip |
Adding upstream version 20220430.upstream/20220430
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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 |