Merge pull request #185 from nono-lqdn/main

Make the backup script exit with the backup exit code
This commit is contained in:
L3D 2026-10-10 12:12:38 +02:00 • committed by GitHub
commit 6cd3ebc7f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -339,9 +339,9 @@ else
{% endif %}
fi
{#
post_backup_cmd was previously named past_backup_cmd,
to not break configs still using that spelling
{#
post_backup_cmd was previously named past_backup_cmd,
to not break configs still using that spelling
we make sure both new and old spelling works
#}
{% if item.past_backup_cmd is defined %}
@ -366,4 +366,4 @@ fi
{% endif %}
rm -f $pid # remove pid file just before exiting
exit
exit $BACKUP_EXIT_CODE