Skip to content

Commit

Permalink
fix for jimsalterjrs#316 - CRITICAL ERROR: bookmarks couldn't be list…
Browse files Browse the repository at this point in the history
…ed for <volume>
  • Loading branch information
WG Dev committed Jan 6, 2019
1 parent a7cb1e2 commit f941d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syncoid
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit f941d7f

Please sign in to comment.