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:07:55 -0400 |
commit | 1d302c88d122a9fb8050438753617d2f7da1d5ca (patch) | |
tree | fcb24d0daeb48402b5c6e37c57587c8d3cf08e52 | |
parent | deb0df0124fbe9b645755a0a44c7cb8044f24719 (diff) | |
download | initscripts-1d302c88d122a9fb8050438753617d2f7da1d5ca.tar initscripts-1d302c88d122a9fb8050438753617d2f7da1d5ca.tar.gz initscripts-1d302c88d122a9fb8050438753617d2f7da1d5ca.tar.bz2 initscripts-1d302c88d122a9fb8050438753617d2f7da1d5ca.tar.xz initscripts-1d302c88d122a9fb8050438753617d2f7da1d5ca.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 () |