Permalink
Browse files

fix for #316 - CRITICAL ERROR: bookmarks couldn't be listed for <volume>

  • Loading branch information...
WG Dev
WG Dev committed Jan 6, 2019
1 parent a7cb1e2 commit f941d7f78244f2be1f9b3f7a3d826feccae993b4
Showing with 1 addition and 1 deletion.
  1. +1 −1 syncoid
@@ -1316,7 +1316,7 @@ sub getbookmarks() {
close FH or $error = 1;

if ($error == 1) {
if ($rawbookmarks[0] =~ /invalid type/) {
if ($rawbookmarks[0] =~ /invalid type/ or $rawbookmarks[0] =~ /operation not applicable to datasets of this type/) {
# no support for zfs bookmarks, return empty hash
return %bookmarks;
}

0 comments on commit f941d7f

Please sign in to comment.