projects
/
bucardo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
daa8647
)
Don't show already added tables if the number is zero.
author
Greg Sabino Mullane
<greg@endpoint.com>
Sat, 3 Sep 2011 13:17:07 +0000
(09:17 -0400)
committer
Greg Sabino Mullane
<greg@endpoint.com>
Sat, 3 Sep 2011 13:17:07 +0000
(09:17 -0400)
bucardo
patch
|
blob
|
blame
|
history
diff --git
a/bucardo
b/bucardo
index 2bf23a258587d470f54953424dae8cafcca266b7..958f5b7ccbb0db095a45fcaf2f0b6432a1270372 100755
(executable)
--- a/
bucardo
+++ b/
bucardo
@@
-6152,7
+6152,12
@@
sub add_all_goats {
}
}
- return "New ${type}s added: $count{added}\nAlready added: $count{seenit}\n";
+ my $msg = "New ${type}s added: $count{added}\n";
+ if ($count{seenit}) {
+ $msg .= "Already added: $count{seenit}\n";
+ }
+
+ return $msg;
} ## end of add_all_goats