mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
network-functions: fix add newline in $wireless_status
with the other syntax perl suggest this change. Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user