add exit for snapshot deletion failed

This commit is contained in:
Jochen Welzel 2021-01-06 13:47:50 +01:00
parent fdb28a42a9
commit e1ea936ffb

View File

@ -79,6 +79,7 @@ do
if [[ $disk == *"snapshot"* ]]
then
echo "Snapshot deletion failed for $disk" >&2
exit 1
fi
done