Skip to content
Snippets Groups Projects
Commit 0098b2c5 authored by nimrod's avatar nimrod
Browse files

Debian server: `dvb` behavior change.

Don't fail if there are no Docker volumes to backup. When running
manually it makes sense, but in the scope of a Cron job, the job fails
on hosts that don't have volumes marked for backup which is just noise.
parent 8c3a20f9
No related branches found
No related tags found
No related merge requests found
...@@ -57,7 +57,6 @@ then ...@@ -57,7 +57,6 @@ then
elif [ -z "$(docker volume ls --filter label=snapshot=true --format '{{ .Name }}')" ] elif [ -z "$(docker volume ls --filter label=snapshot=true --format '{{ .Name }}')" ]
then then
echo "No Docker volumes marked for backup, exiting." >&2 echo "No Docker volumes marked for backup, exiting." >&2
exit 1
fi fi
dest="$1" dest="$1"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment