Added helpful information to stderr
This commit is contained in:
parent
374f5b9b51
commit
7c1e501066
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue