some small fixes to notification messages
This commit is contained in:
parent
0aabfe44bf
commit
ec4a6119f7
1 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ function apply_config
|
|||
if [[ -r $exclude_list ]]; then
|
||||
exclude_option='-X'
|
||||
else
|
||||
err "Exclusion list $exclude_list is either unreadable or does not exist."
|
||||
err "Exclusion list $exclude_list is either unreadable or does not exist. Proceeding without it."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
@ -110,7 +110,7 @@ function compress # compress to stdout
|
|||
if printf '' >> $snapshot_file; then
|
||||
snapshot_option='-g'
|
||||
else
|
||||
err "Snapshot file $snapshot_file cannot be written."
|
||||
err "Snapshot file $snapshot_file cannot be written. Proceeding with full backup."
|
||||
fi
|
||||
fi
|
||||
tar -c$compress_flag $snapshot_option $snapshot_file $exclude_option $exclude_list --ignore-failed-read -C $src_basedir $src_basename
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue