diff options
author | Jonathan Bauer | 2021-04-13 12:46:58 +0200 |
---|---|---|
committer | Jonathan Bauer | 2021-04-13 12:46:58 +0200 |
commit | dacbf90bec88268f26c6a057f47ef719e0152437 (patch) | |
tree | 11a6f502166981d98ea7cebf7fe71158d3a7cda8 | |
parent | [dnbd3-rootfs] copy dnbd3-client over to stage4 (diff) | |
download | systemd-init-dacbf90bec88268f26c6a057f47ef719e0152437.tar.gz systemd-init-dacbf90bec88268f26c6a057f47ef719e0152437.tar.xz systemd-init-dacbf90bec88268f26c6a057f47ef719e0152437.zip |
[slx-ssl] suppress output of rmdir
-rw-r--r-- | modules.d/slx-ssl/hooks/setup-ssl-sat.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/slx-ssl/hooks/setup-ssl-sat.sh b/modules.d/slx-ssl/hooks/setup-ssl-sat.sh index 33e8d506..c527eed5 100644 --- a/modules.d/slx-ssl/hooks/setup-ssl-sat.sh +++ b/modules.d/slx-ssl/hooks/setup-ssl-sat.sh @@ -12,7 +12,7 @@ CONFIG="${NEWROOT}/opt/openslx/config" # end dracut compat # Set up SSL communication with server -if [ -d "${FUTURE_ROOT}/opt/openslx/ssl" ] && ! rmdir "${FUTURE_ROOT}/opt/openslx/ssl"; then +if [ -d "${FUTURE_ROOT}/opt/openslx/ssl" ] && ! rmdir "${FUTURE_ROOT}/opt/openslx/ssl &> /dev/null"; then # Copy certs and symlinks to CA path cp -a "${FUTURE_ROOT}"/opt/openslx/ssl/* "${FUTURE_ROOT}/etc/ssl/certs/" # Append to combined ca bundle |