diff options
author | Bill Nottingham <notting@redhat.com> | 2003-12-11 15:12:15 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2003-12-11 15:12:15 +0000 |
commit | 2bcab8987785773381e9d540a4ba345b5f9da23c (patch) | |
tree | 673291034205b09fef70bafe2f7860cda3726601 /sysconfig/network-scripts/network-functions | |
parent | 393d8e1e38d898e5d98c31b38d545287ad968821 (diff) | |
download | initscripts-2bcab8987785773381e9d540a4ba345b5f9da23c.tar initscripts-2bcab8987785773381e9d540a4ba345b5f9da23c.tar.gz initscripts-2bcab8987785773381e9d540a4ba345b5f9da23c.tar.bz2 initscripts-2bcab8987785773381e9d540a4ba345b5f9da23c.tar.xz initscripts-2bcab8987785773381e9d540a4ba345b5f9da23c.zip |
cleanup the test a little
Diffstat (limited to 'sysconfig/network-scripts/network-functions')
-rw-r--r-- | sysconfig/network-scripts/network-functions | 4 |
1 files changed, 2 insertions, 2 deletions
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" |