]> git.proxmox.com Git - pve-network.git/commitdiff
sdn zones: add newline to warn
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 9 Apr 2020 06:03:18 +0000 (08:03 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 9 Apr 2020 06:03:18 +0000 (08:03 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/Network/SDN/Zones.pm

index 17ef507409442753d034801e6ba07872d74172e3..3f2e140a0a64b46c2ee09c1a0eeb53ad1e936c4b 100644 (file)
@@ -177,7 +177,7 @@ sub status {
     if (!-e $local_sdn_file) {
 
        $err_config = "local sdn network configuration is not yet generated, please reload";
-       warn $err_config;
+       warn "$err_config\n";
     } else {
        # fixme : use some kind of versioning info?
        my $cluster_vnet_timestamp = (stat($cluster_vnet_file))[9];
@@ -186,8 +186,8 @@ sub status {
 
        if ($local_sdn_timestamp < $cluster_vnet_timestamp || $local_sdn_timestamp < $cluster_zone_timestamp) {
            $err_config = "local sdn network configuration is too old, please reload";
-           warn $err_config;
-        }
+           warn "$err_config\n";
+       }
     }
 
     my $status = ifquery_check();