prune_backups CLI: print different message when there's no backups at all
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
committed by
Thomas Lamprecht
parent
7b73d327b5
commit
c3e87d0f6e
@ -932,6 +932,11 @@ our $cmddef = {
|
||||
|
||||
return if !$dryrun;
|
||||
|
||||
if (!scalar(@{$list})) {
|
||||
print "No backups found\n";
|
||||
return;
|
||||
}
|
||||
|
||||
print "NOTE: this is only a preview and might not be what a subsequent\n" .
|
||||
"prune call does if backups are removed/added in the meantime.\n\n";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user