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

Changing remaining 'exit' to 'fatal' at rsync handler (#3721)

parent 3b709c9c
Branches
Tags
No related merge requests found
...@@ -391,8 +391,7 @@ function rotate_long { ...@@ -391,8 +391,7 @@ function rotate_long {
local metadata local metadata
if [ ! -d "$backuproot" ]; then if [ ! -d "$backuproot" ]; then
echo "Debug: skipping rotate of $backuproot as it doesn't exist." fatal "Skipping rotate of $backuproot as it doesn't exist."
exit
fi fi
for rottype in daily weekly monthly; do for rottype in daily weekly monthly; do
...@@ -509,7 +508,7 @@ function rotate_long_remote { ...@@ -509,7 +508,7 @@ function rotate_long_remote {
now=\`date +%s\` now=\`date +%s\`
if [ ! -d "$backuproot" ]; then if [ ! -d "$backuproot" ]; then
echo "Debug: skipping rotate of $backuproot as it doesn't exist." echo "Fatal: skipping rotate of $backuproot as it doesn't exist."
exit exit
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment