]> git.proxmox.com Git - pve-manager.git/commitdiff
pve5to6: list packages with updates in new line
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 27 Jun 2019 17:15:37 +0000 (19:15 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 27 Jun 2019 17:15:39 +0000 (19:15 +0200)
with two spaces indentation, like apt does

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/CLI/pve5to6.pm

index d5fea90e477be0e64cec8b188d04adb373ea7c54..324ea5249cae2ef4e3eb29b052169f671e6248fb 100644 (file)
@@ -111,7 +111,7 @@ sub check_pve_packages {
        log_fail("unable to retrieve list of package updates!");
     } elsif (@$updates > 0) {
        my $pkgs = join(', ', map { $_->{Package} } @$updates);
-       log_warn("updates for the following packages are available: $pkgs");
+       log_warn("updates for the following packages are available:\n  $pkgs");
     } else {
        log_pass("all packages uptodate");
     }