From 034545483cf7c75ca2ab4583fbb2b030a57bab82 Mon Sep 17 00:00:00 2001 From: oblique Date: Wed, 10 Sep 2014 23:03:04 +0300 Subject: [PATCH] fix bug: networkmanager_rm_unmanaged_if_needed was ignoring 2nd argument --- create_ap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create_ap b/create_ap index bceb87d..a96680d 100755 --- a/create_ap +++ b/create_ap @@ -302,7 +302,7 @@ networkmanager_rm_unmanaged() { } networkmanager_rm_unmanaged_if_needed() { - [[ $ADDED_UNMANAGED =~ .*\ ${1}\ .* ]] && networkmanager_rm_unmanaged ${1} + [[ $ADDED_UNMANAGED =~ .*\ ${1}\ .* ]] && networkmanager_rm_unmanaged $1 $2 } networkmanager_wait_until_unmanaged() {