aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-05-13 17:07:55 -0400
committerBill Nottingham <notting@redhat.com>2010-05-13 17:07:55 -0400
commit1d302c88d122a9fb8050438753617d2f7da1d5ca (patch)
treefcb24d0daeb48402b5c6e37c57587c8d3cf08e52 /sysconfig
parentdeb0df0124fbe9b645755a0a44c7cb8044f24719 (diff)
downloadinitscripts-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.
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 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 ()