summaryrefslogtreecommitdiff
path: root/backup.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-02-04 15:06:13 +0100
committerErich Eckner <git@eckner.net>2020-02-04 15:08:02 +0100
commit1d4ab20631232dfede597f39b3387d7fcc73d89d (patch)
treef0634da36fabc810f64c86cc823e854b5e3ea4d6 /backup.in
parentd735a502e94bab371037bbeb2ee4629165a91023 (diff)
downloadhardlinkedBackups-1d4ab20631232dfede597f39b3387d7fcc73d89d.tar.xz
backup: warn if backup postponed due to unavailable mount point
Diffstat (limited to 'backup.in')
-rwxr-xr-xbackup.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/backup.in b/backup.in
index 21ff1b9..7bea69f 100755
--- a/backup.in
+++ b/backup.in
@@ -160,6 +160,7 @@ rsyncOptions="${rsyncOptions}${ipVer}"
if [ ! -d ${Basis} ]; then
for neededMount in "${neededMounts[@]}"; do
if ! mountpoint -q "${neededMount}"; then
+ >&2 printf 'Mountpoint %s is not available.\n' "${neededMount}"
exit 11
fi
done