aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/network-functions
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-12-11 05:08:10 +0000
committerBill Nottingham <notting@redhat.com>2003-12-11 05:08:10 +0000
commit393d8e1e38d898e5d98c31b38d545287ad968821 (patch)
tree973fb8a56158386c71cf2bbac012337505b13a65 /sysconfig/network-scripts/network-functions
parentdd1ad30cb9a5c0f7e03d4a5d1875c750385e2eb0 (diff)
downloadinitscripts-393d8e1e38d898e5d98c31b38d545287ad968821.tar
initscripts-393d8e1e38d898e5d98c31b38d545287ad968821.tar.gz
initscripts-393d8e1e38d898e5d98c31b38d545287ad968821.tar.bz2
initscripts-393d8e1e38d898e5d98c31b38d545287ad968821.tar.xz
initscripts-393d8e1e38d898e5d98c31b38d545287ad968821.zip
get rid of error message
Diffstat (limited to 'sysconfig/network-scripts/network-functions')
-rw-r--r--sysconfig/network-scripts/network-functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index b7844d14..3a60c6f4 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -42,10 +42,10 @@ source_config ()
exit 1
}
. $PARENTCONFIG
- [ -f "keys-$PARENTDEVNAME" ] && . keys-$PARENTDEVNAME
+ [ -f "keys-$PARENTDEVNAME" ] && . keys-$PARENTDEVNAME 2>/dev/null
fi
. $CONFIG
- [ -f "keys-$DEVNAME" ] && . keys-$DEVNAME
+ [ -f "keys-$DEVNAME" ] && . keys-$DEVNAME 2>/dev/null
case "$TYPE" in
Ethernet)
DEVICETYPE="eth"