From 1c806d487483ba7faebb02d121289299b492639a Mon Sep 17 00:00:00 2001 From: Philippe PITTOLI Date: Sat, 26 Oct 2019 00:23:02 +0200 Subject: [PATCH] fixes wireless interfaces check --- src/configuration.cr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/configuration.cr b/src/configuration.cr index d20c1b0..f734228 100644 --- a/src/configuration.cr +++ b/src/configuration.cr @@ -261,11 +261,11 @@ class InterfaceConfiguration # TODO: treat differently wireless and non-wireless interfaces if @wireless_networks.empty? + puts "interface #{name} is not wireless" + else puts "interface #{name} is wireless: connection to the access point" store_access_point_keys access_point_connection - else - puts "interface #{name} is not wireless" end # ipv4 configuration