fix bug: networkmanager_rm_unmanaged_if_needed was ignoring 2nd argument

This commit is contained in:
oblique 2014-09-10 23:03:04 +03:00
parent 6c56e81148
commit 034545483c

View File

@ -302,7 +302,7 @@ networkmanager_rm_unmanaged() {
} }
networkmanager_rm_unmanaged_if_needed() { networkmanager_rm_unmanaged_if_needed() {
[[ $ADDED_UNMANAGED =~ .*\ ${1}\ .* ]] && networkmanager_rm_unmanaged ${1} [[ $ADDED_UNMANAGED =~ .*\ ${1}\ .* ]] && networkmanager_rm_unmanaged $1 $2
} }
networkmanager_wait_until_unmanaged() { networkmanager_wait_until_unmanaged() {