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
1 changed files with 1 additions and 1 deletions

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