From 1d4ab20631232dfede597f39b3387d7fcc73d89d Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 4 Feb 2020 15:06:13 +0100 Subject: backup: warn if backup postponed due to unavailable mount point --- backup.in | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3-70-g09d2