From 7c1e5010667d182cde31eba191b4faba891cf540 Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Sat, 28 Oct 2017 11:02:48 +0200 Subject: [PATCH] Added helpful information to stderr --- backupscript.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backupscript.sh b/backupscript.sh index 7371223..759f364 100755 --- a/backupscript.sh +++ b/backupscript.sh @@ -65,9 +65,11 @@ fi uuid=$(cat /proc/sys/kernel/random/uuid) if ! ./lock.sh haslock; then + echo "###" BEGIN EXPECTED ERRORS >&2 umount -v $SNAPSHOTDIR cryptsetup close snapshot-decrypt lvremove -f vg01/crypt-snapshot + echo "###" END EXPECTED ERRORS >&2 mkdir -p $SNAPSHOTDIR