From: Stefan Schantl Date: Thu, 20 May 2021 17:50:01 +0000 (+0200) Subject: network-functions.pl: Use new system methods X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=f3e3cb371dc3a279b30510eb56c263b3d2a093ce network-functions.pl: Use new system methods Signed-off-by: Stefan Schantl --- 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};