Skip to content
Snippets Groups Projects
Commit ba3e3759 authored by rhatto's avatar rhatto
Browse files

Changing a 'fatal' to a 'warning' on rsync handler.

Using 'warning' and 'return' instead of a fatal at rotate_long if
backuproot doesn't exist. Using a warning ensures that the backup
action can process the other includes and not just exit.
parent bf5ada0f
Branches
Tags
No related merge requests found
......@@ -391,7 +391,8 @@ function rotate_long {
local metadata
if [ ! -d "$backuproot" ]; then
fatal "Skipping rotate of $backuproot as it doesn't exist."
warning "Skipping rotate of $backuproot as it doesn't exist."
return
fi
for rottype in daily weekly monthly; do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment