read
for snap in `zfs list -t snapshot 2>/dev/null | grep "^$zfs_pool" | grep "$snap_pattern" | awk '{print $1}'`; do
+ echo " destroying snapshot: $snap"
zfs destroy "$snap" 2>/dev/null
done
-echo "-> Snapshots removed"
\ No newline at end of file
+echo "-> Snapshots removed"