aboutsummaryrefslogtreecommitdiffstats
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:05:10 +0200
commitd26663e91b4f7f25550dcd1fec0eef45deee5a7d (patch)
treef2e9dfcb0cc2bc5e26ea8d2d0d1362e567f654a0
parente956710ffda24a569460688f99a1d410328bbc61 (diff)
downloadinitscripts-d26663e91b4f7f25550dcd1fec0eef45deee5a7d.tar
initscripts-d26663e91b4f7f25550dcd1fec0eef45deee5a7d.tar.gz
initscripts-d26663e91b4f7f25550dcd1fec0eef45deee5a7d.tar.bz2
initscripts-d26663e91b4f7f25550dcd1fec0eef45deee5a7d.tar.xz
initscripts-d26663e91b4f7f25550dcd1fec0eef45deee5a7d.zip
is_nm_handling: fix RE
-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 fe99e0d5..a76d7432 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 ()