diff options
author | Bill Nottingham <notting@redhat.com> | 2010-05-13 17:07:55 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2010-05-13 17:09:02 -0400 |
commit | 45a56aab675de3d8b79947a4c61e6e3adaa5febe (patch) | |
tree | 3f10cac7dc7541e6e6905cb87245ea98941e7281 | |
parent | 3c3821575c39720ae449d9f20db54f3fa44afa25 (diff) | |
download | initscripts-45a56aab675de3d8b79947a4c61e6e3adaa5febe.tar initscripts-45a56aab675de3d8b79947a4c61e6e3adaa5febe.tar.gz initscripts-45a56aab675de3d8b79947a4c61e6e3adaa5febe.tar.bz2 initscripts-45a56aab675de3d8b79947a4c61e6e3adaa5febe.tar.xz initscripts-45a56aab675de3d8b79947a4c61e6e3adaa5febe.zip |
Get rid of a silly error message for loopback devices.
-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 9fc84bca..b8db6bdf 100644 --- a/sysconfig/network-scripts/network-functions +++ b/sysconfig/network-scripts/network-functions @@ -56,7 +56,7 @@ get_device_by_hwaddr () get_uuid_by_config () { - dbus-send --system --print-reply --dest=com.redhat.ifcfgrh1 /com/redhat/ifcfgrh1 com.redhat.ifcfgrh1.GetIfcfgDetails string:"/etc/sysconfig/network-scripts/$1" | awk -F '"' '/string / { print $2 }' + dbus-send --system --print-reply --dest=com.redhat.ifcfgrh1 /com/redhat/ifcfgrh1 com.redhat.ifcfgrh1.GetIfcfgDetails string:"/etc/sysconfig/network-scripts/$1" 2>/dev/null | awk -F '"' '/string / { print $2 }' } need_config () |