Changeset 2b022e589e4ee26a25538d1a936dca38ca0e183d

Show
Ignore:
Timestamp:
10/14/08 20:31:15 (6 years ago)
Author:
Eric Sproul <esproul@omniti.com>
git-committer:
Eric Sproul <esproul@omniti.com> 1224016275 +0000
git-parent:

[63013ca52a0fdf53999bce468436b289a140c899]

git-author:
Eric Sproul <esproul@omniti.com> 1224016275 +0000
Message:

First attempt at checking exclude property. Refs #26

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • zetaback_agent.in

    r63013ca r2b022e5  
    212212    my @line = split /\t/; 
    213213    (my $fs = $line[0]) =~ s/\@.+//; 
    214     if($fs =~ /$conf{pattern}/) { 
     214    chomp(my $excl = `__ZFS__ get com.omniti.labs.zetaback:exclude $fs`); 
     215    if(($excl ne "on") && ($fs =~ /$conf{pattern}/)) { 
    215216      if($line[0] =~ /(\S+)\@([^\@]+)$/) { 
    216217        $zfs{$1} ||= [];