summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVon Random <von@vdrandom.org>2015-01-12 09:31:40 +0300
committerVon Random <von@vdrandom.org>2015-01-12 09:31:40 +0300
commitec4a6119f717f1c0e667e146ae6cf5f14f4fcd45 (patch)
treec03ade07079bb0fd2f5de298525cffe565a7d311
parent0aabfe44bfc7eddab5167f644a6db8e9dbe12f84 (diff)
some small fixes to notification messages
-rwxr-xr-xbackup.zsh4
1 files 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