From f3e3cb371dc3a279b30510eb56c263b3d2a093ce Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Thu, 20 May 2021 19:50:01 +0200 Subject: [PATCH] network-functions.pl: Use new system methods Signed-off-by: Stefan Schantl --- 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 2f704dfbfe..b7a840559c 100644 --- a/config/cfgroot/network-functions.pl +++ b/config/cfgroot/network-functions.pl @@ -360,7 +360,7 @@ sub _get_wireless_status($) { my $intf = shift; if (!$wireless_status{$intf}) { - $wireless_status{$intf} = `iwconfig $intf`; + $wireless_status{$intf} = &General::system_output("iwconfig", "$intf"); } return $wireless_status{$intf}; -- 2.39.2