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:09 -0400 |
commit | d8e50ef66e806a31cdfac3a38e9df25ab82a2093 (patch) | |
tree | 5885cfea1db32a72a376ec2bbabca187d0f8d4b6 /sysconfig/network-scripts | |
parent | e0eac3be31a68b0eb657fe1c1e8da36849ade05b (diff) | |
download | initscripts-d8e50ef66e806a31cdfac3a38e9df25ab82a2093.tar initscripts-d8e50ef66e806a31cdfac3a38e9df25ab82a2093.tar.gz initscripts-d8e50ef66e806a31cdfac3a38e9df25ab82a2093.tar.bz2 initscripts-d8e50ef66e806a31cdfac3a38e9df25ab82a2093.tar.xz initscripts-d8e50ef66e806a31cdfac3a38e9df25ab82a2093.zip |
Get rid of a silly error message for loopback devices.
Diffstat (limited to 'sysconfig/network-scripts')
-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 a3131301..d5bcb2a2 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 () |