Corrected directory keep file

This commit is contained in:
Eric Renfro 2022-09-05 17:20:14 -04:00
parent 480d69d9d9
commit 299b24a867
Signed by: psi-jack
GPG key ID: 14977F3A50D9A5BF

View file

@ -67,7 +67,7 @@ hook_pre() {
}
hook_post() {
if [[ ! -f "${restoreDir}/.keep" ]]; then
if [[ ! -f "${restoreDir}/.do-not-delete" ]]; then
rm -rf "$restoreDir"
fi
runOsHook after_backup