synchronise order of options in ccollect with documentation
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
3231acf525
commit
02670a813c
1 changed files with 4 additions and 3 deletions
|
@ -297,9 +297,10 @@ while [ "${i}" -lt "${no_sources}" ]; do
|
||||||
c_pre_exec="${backup}/pre_exec"
|
c_pre_exec="${backup}/pre_exec"
|
||||||
c_post_exec="${backup}/post_exec"
|
c_post_exec="${backup}/post_exec"
|
||||||
c_marker="ccollect-marker"
|
c_marker="ccollect-marker"
|
||||||
for opt in exclude verbose very_verbose rsync_options summary delete_incomplete \
|
for opt in verbose very_verbose summary exclude rsync_options \
|
||||||
remote_host rsync_failure_codes mtime quiet_if_down ; do
|
delete_incomplete remote_host rsync_failure_codes \
|
||||||
if [ -f "${backup}/${opt}" -o -f "${backup}/no_${opt}" ]; then
|
mtime quiet_if_down ; do
|
||||||
|
if [ -f "${backup}/${opt}" -o -f "${backup}/no_${opt}" ]; then
|
||||||
eval c_$opt=\"${backup}/$opt\"
|
eval c_$opt=\"${backup}/$opt\"
|
||||||
else
|
else
|
||||||
eval c_$opt=\"${CDEFAULTS}/$opt\"
|
eval c_$opt=\"${CDEFAULTS}/$opt\"
|
||||||
|
|
Loading…
Reference in a new issue