diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2014-04-01 14:05:10 +0200 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2014-04-01 14:12:12 +0200 |
commit | 4e87d899e14c6a23028d687316268a4775104676 (patch) | |
tree | a2175ec34eafdcf866251a830eabac5143bfcced /sysconfig | |
parent | c989bece4297a4b4cad0d7aa289fdb5222b1288c (diff) | |
download | initscripts-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-functions | 2 |
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 () |