diff --git a/PVE/API2/Storage/PruneBackups.pm b/PVE/API2/Storage/PruneBackups.pm index a84d1c8..2509a46 100644 --- a/PVE/API2/Storage/PruneBackups.pm +++ b/PVE/API2/Storage/PruneBackups.pm @@ -16,9 +16,8 @@ __PACKAGE__->register_method ({ name => 'dryrun', path => '', method => 'GET', - description => "Get prune information for backups. NOTE: this is only a preview and might not be exactly " . - "what a subsequent prune call does, if the hour changes or if backups are removed/added " . - "in the meantime.", + description => "Get prune information for backups. NOTE: this is only a preview and might not be " . + "what a subsequent prune call does if backups are removed/added in the meantime.", permissions => { check => ['perm', '/storage/{storage}', ['Datastore.Audit', 'Datastore.AllocateSpace'], any => 1], }, diff --git a/PVE/CLI/pvesm.pm b/PVE/CLI/pvesm.pm index cc03e37..93ef977 100755 --- a/PVE/CLI/pvesm.pm +++ b/PVE/CLI/pvesm.pm @@ -932,8 +932,8 @@ our $cmddef = { return if !$dryrun; - print "NOTE: this is only a preview and might not be exactly what a subsequent prune call does,\n" . - "if the hour changes or if backups are removed/added in the meantime.\n\n"; + 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"; my @sorted = sort { my $vmcmp = PVE::Tools::safe_compare($a->{vmid}, $b->{vmid}, sub { $_[0] <=> $_[1] });