aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2005-04-15 16:51:02 +0000
committerBill Nottingham <notting@redhat.com>2005-04-15 16:51:02 +0000
commitabd75be1e982ff40055179f66fec5df07ade479e (patch)
treea07ab47d81c460b2dba9e3392436df2f038c133d /sysconfig/network-scripts
parentcda2a30cad994f3817513bf598ef2de16e4ebab5 (diff)
downloadinitscripts-abd75be1e982ff40055179f66fec5df07ade479e.tar
initscripts-abd75be1e982ff40055179f66fec5df07ade479e.tar.gz
initscripts-abd75be1e982ff40055179f66fec5df07ade479e.tar.bz2
initscripts-abd75be1e982ff40055179f66fec5df07ade479e.tar.xz
initscripts-abd75be1e982ff40055179f66fec5df07ade479e.zip
cleanup
Diffstat (limited to 'sysconfig/network-scripts')
-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