freebsd-ports/sysutils/zetaback-devel/files/patch-zetaback.in
Cy Schubert 654152609f Welcome the new zetaback-devel, tracking omniti-labs/zetaback master.
What was submitted was actually a combination of what was committed to
sysutils/zetaback and what is committed here.

PR:		246132
Mostly by:	Armin Gruner <ag-freebsd@muc.de>
2020-05-03 02:52:10 +00:00

11 lines
409 B
Text

--- 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));