[Zetaback-devel] [zetaback commit] r123 - branches/sendr
svn-commit at lists.omniti.com
svn-commit at lists.omniti.com
Tue Oct 13 17:35:55 EDT 2009
Author: mark
Date: 2009-10-13 17:35:54 -0400 (Tue, 13 Oct 2009)
New Revision: 123
Modified:
branches/sendr/zetaback_agent.in
Log:
Make sure we still show all snapshots for a filesystem when recurse is on
Modified: branches/sendr/zetaback_agent.in
===================================================================
--- branches/sendr/zetaback_agent.in 2009-10-08 16:48:03 UTC (rev 122)
+++ branches/sendr/zetaback_agent.in 2009-10-13 21:35:54 UTC (rev 123)
@@ -302,7 +302,8 @@
foreach my $existingfs (keys %zfs) {
# Look to see if the current filesystem is a child of a filesystem
# we already added to the list
- if (substr($fsname, 0, length($existingfs)) eq $existingfs) {
+ if (substr($fsname, 0, length($existingfs)) eq $existingfs &&
+ length($fsname) != length($existingfs)) {
$match = 1;
last;
}
More information about the Zetaback-devel
mailing list