From 6933ca89163af74b5a907b75e6112a6e7631af43 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 9 Apr 2020 08:03:18 +0200 Subject: [PATCH] sdn zones: add newline to warn Signed-off-by: Thomas Lamprecht --- PVE/Network/SDN/Zones.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PVE/Network/SDN/Zones.pm b/PVE/Network/SDN/Zones.pm index 17ef507..3f2e140 100644 --- a/PVE/Network/SDN/Zones.pm +++ b/PVE/Network/SDN/Zones.pm @@ -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(); -- 2.39.2