aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/network-functions
diff options
context:
space:
mode:
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"