aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2014-04-01 14:05:10 +0200
committerLukas Nykryn <lnykryn@redhat.com>2014-04-01 14:12:12 +0200
commit4e87d899e14c6a23028d687316268a4775104676 (patch)
treea2175ec34eafdcf866251a830eabac5143bfcced /sysconfig
parentc989bece4297a4b4cad0d7aa289fdb5222b1288c (diff)
downloadinitscripts-4e87d899e14c6a23028d687316268a4775104676.tar
initscripts-4e87d899e14c6a23028d687316268a4775104676.tar.gz
initscripts-4e87d899e14c6a23028d687316268a4775104676.tar.bz2
initscripts-4e87d899e14c6a23028d687316268a4775104676.tar.xz
initscripts-4e87d899e14c6a23028d687316268a4775104676.zip
is_nm_handling: fix RE
Diffstat (limited to 'sysconfig')
-rw-r--r--sysconfig/network-scripts/network-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index 09361d43..d7299572 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -282,7 +282,7 @@ is_nm_active ()
is_nm_handling ()
{
- LANG=C nmcli -t --fields device,state dev status 2>/dev/null | grep -q "^\(${1}:connected\)\|\(${1}:connecting\)$"
+ LANG=C nmcli -t --fields device,state dev status 2>/dev/null | grep -q "^\(${1}:connected\)\|\(${1}:connecting.*\)$"
}
is_nm_device_unmanaged ()