+ echo >&2 "-W- No snapshots detected on the destination drive for this filesystem: $dstfs"
+ if zfs list -t filesystem | grep "$dstfs"; then
+ echo >&2 "-I- Found zfs filesystem $dstfs on the destination pool $dstpool without any snapshots"
+ echo >&2 "-I- Removing the zfs filesystem: $dstfs"
+ zfs destroy "$dstfs"
+ fi