fixed loud 'NEWEST SNAPSHOT' message

This commit is contained in:
Attie Grande 2018-01-06 11:01:44 +00:00
parent f6519c0aea
commit 8a2a673c58
1 changed files with 1 additions and 1 deletions

View File

@ -597,7 +597,7 @@ sub getnewestsnapshot {
my $snaps = shift;
foreach my $snap ( sort { $snaps{'source'}{$b}{'creation'}<=>$snaps{'source'}{$a}{'creation'} } keys %{ $snaps{'source'} }) {
# return on first snap found - it's the newest
print "NEWEST SNAPSHOT: $snap\n";
if (!$quiet) { print "NEWEST SNAPSHOT: $snap\n"; }
return $snap;
}
# must not have had any snapshots on source - looks like we'd better create one!