From ec4a6119f717f1c0e667e146ae6cf5f14f4fcd45 Mon Sep 17 00:00:00 2001 From: Von Random Date: Mon, 12 Jan 2015 09:31:40 +0300 Subject: some small fixes to notification messages --- backup.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backup.zsh b/backup.zsh index e99edbb..1c3e8ca 100755 --- a/backup.zsh +++ b/backup.zsh @@ -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 -- cgit v1.2.3