fix backup-server-state option for OpenBSD

This commit is contained in:
Jérémy Dubois 2022-03-25 18:02:18 +01:00
parent a658e2aa7f
commit 959077327a

View file

@ -20,7 +20,7 @@ set -u
##### Configuration ###################################################
VERSION="22.01"
VERSION="22.03"
# email adress for notifications
MAIL=jdoe@example.com
@ -367,7 +367,7 @@ if [ "${LOCAL_TASKS}" = "1" ]; then
fi
else
if [ -n "${backup_server_state_bin}" ]; then
${backup_server_state_bin} --force --backup-dir "${server_state_dir}"
${backup_server_state_bin} --etc --force --backup-dir "${server_state_dir}"
else
mkdir -p "${server_state_dir}"