summaryrefslogtreecommitdiff
path: root/sysutils/zetaback/files/patch-zetaback.in
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/zetaback/files/patch-zetaback.in')
-rw-r--r--sysutils/zetaback/files/patch-zetaback.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/zetaback/files/patch-zetaback.in b/sysutils/zetaback/files/patch-zetaback.in
new file mode 100644
index 000000000000..9ce8694871b8
--- /dev/null
+++ b/sysutils/zetaback/files/patch-zetaback.in
@@ -0,0 +1,11 @@
+--- zetaback.in.orig 2019-01-31 22:04:38 UTC
++++ zetaback.in
+@@ -1585,7 +1585,7 @@ sub plan_and_run($$) {
+
+ foreach my $diskline (@disklist) {
+ chomp($diskline);
+- next unless($diskline =~ /^(\S+) \[([^\]]*)\](?: {([^}]*)})?/);
++ next unless($diskline =~ /^(\S+) \[([^\]]*)\](?: \{([^}]*)\})?/);
+ my $diskname = $1;
+ my %snaps;
+ map { $snaps{$_} = 1 } (split(/,/, $2));