From 3cf9dba6b4d36d320a8994820569f200c03f1d36 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Tue, 5 Nov 2024 17:48:17 +0100 Subject: [PATCH] network-functions: fix add newline in $wireless_status with the other syntax perl suggest this change. Signed-off-by: Arne Fitzenreiter --- config/cfgroot/network-functions.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cfgroot/network-functions.pl b/config/cfgroot/network-functions.pl index 37eaf69cc9..37a436253a 100644 --- a/config/cfgroot/network-functions.pl +++ b/config/cfgroot/network-functions.pl @@ -438,7 +438,7 @@ sub _get_wireless_status($) { my $intf = shift; if (!$wireless_status{$intf}) { - $wireless_status{$intf} = join(/\n/, &General::system_output("iw", "dev", "$intf", "link")); + $wireless_status{$intf} = join("\n", &General::system_output("iw", "dev", "$intf", "link")); } return $wireless_status{$intf}; -- 2.39.5