diff options
author | Erich Eckner <git@eckner.net> | 2020-02-04 15:06:13 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-02-04 15:08:02 +0100 |
commit | 1d4ab20631232dfede597f39b3387d7fcc73d89d (patch) | |
tree | f0634da36fabc810f64c86cc823e854b5e3ea4d6 /backup.in | |
parent | d735a502e94bab371037bbeb2ee4629165a91023 (diff) | |
download | hardlinkedBackups-1d4ab20631232dfede597f39b3387d7fcc73d89d.tar.xz |
backup: warn if backup postponed due to unavailable mount point
Diffstat (limited to 'backup.in')
-rwxr-xr-x | backup.in | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |