mirror of https://github.com/jimsalterjrs/sanoid
fixed loud 'NEWEST SNAPSHOT' message
This commit is contained in:
parent
f6519c0aea
commit
8a2a673c58
2
syncoid
2
syncoid
|
|
@ -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!
|
||||
|
|
|
|||
Loading…
Reference in New Issue