aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsysconfig/network-scripts/ifup-eth3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth
index b96a18b0..04add710 100755
--- a/sysconfig/network-scripts/ifup-eth
+++ b/sysconfig/network-scripts/ifup-eth
@@ -171,8 +171,9 @@ if [ -n "${DYNCONFIG}" -a -x /sbin/dhclient ]; then
if [ -f /var/run/dhclient-${DEVICE}.pid ]; then
dhcpid=`cat /var/run/dhclient-${DEVICE}.pid`
if [[ "`readlink /proc/$dhcpid/exe`" =~ "^/sbin/dhclient" ]]; then
- echo $" failed - dhclient already running for interface ${DEVICE} ($dhcpid)."
+ echo $" failed - dhclient already running for interface ${DEVICE} (pid $dhcpid)."
exit 1
+ fi
fi
if [ -n "$ETHTOOL_OPTS" ] ; then