From 2bcab8987785773381e9d540a4ba345b5f9da23c Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 11 Dec 2003 15:12:15 +0000 Subject: cleanup the test a little --- sysconfig/network-scripts/network-functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysconfig/network-scripts/network-functions') diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions index 3a60c6f4..0dd92438 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 2>/dev/null + [ -r "keys-$PARENTDEVNAME" ] && . keys-$PARENTDEVNAME fi . $CONFIG - [ -f "keys-$DEVNAME" ] && . keys-$DEVNAME 2>/dev/null + [ -r "keys-$DEVNAME" ] && . keys-$DEVNAME case "$TYPE" in Ethernet) DEVICETYPE="eth" -- cgit v1.2.1