aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-08-21 05:04:40 +0000
committerBill Nottingham <notting@redhat.com>2002-08-21 05:04:40 +0000
commit976cd071e20a5cc4ae55f3ca6a796a6d857b82fe (patch)
treeea2f034788fefc697256fc554d83e144221bfffa /src
parent270c027bb45f687ff3c9b5264acfd4e093d2108a (diff)
downloadinitscripts-976cd071e20a5cc4ae55f3ca6a796a6d857b82fe.tar
initscripts-976cd071e20a5cc4ae55f3ca6a796a6d857b82fe.tar.gz
initscripts-976cd071e20a5cc4ae55f3ca6a796a6d857b82fe.tar.bz2
initscripts-976cd071e20a5cc4ae55f3ca6a796a6d857b82fe.tar.xz
initscripts-976cd071e20a5cc4ae55f3ca6a796a6d857b82fe.zip
don't retry indefinitely (<pbrown@redhat.com>)
Diffstat (limited to 'src')
-rw-r--r--src/ppp-watch.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ppp-watch.c b/src/ppp-watch.c
index e383694c..c611d7e4 100644
--- a/src/ppp-watch.c
+++ b/src/ppp-watch.c
@@ -6,7 +6,7 @@
* one argument: the logical name of the device to bring up. Does not
* detach until the interface is up or has permanently failed to come up.
*
- * Copyright 1999-2001 Red Hat, Inc.
+ * Copyright 1999-2002 Red Hat, Inc.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
@@ -711,10 +711,11 @@ main(int argc, char **argv) {
break;
}
- /* We default to retrying the connect phase for backward
- * compatibility, unless RETRYCONNECT is false. */
+ /* PGB 08/20/02: We no longer retry connecting MAXFAIL
+ times on a failed connect script unless RETRYCONNECT is
+ true. */
if ((WEXITSTATUS(status) == 8) &&
- !svTrueValue(ifcfg, "RETRYCONNECT", TRUE)) {
+ !svTrueValue(ifcfg, "RETRYCONNECT", FALSE)) {
failureExit(WEXITSTATUS(status));
}