From 976cd071e20a5cc4ae55f3ca6a796a6d857b82fe Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 21 Aug 2002 05:04:40 +0000 Subject: don't retry indefinitely () --- src/ppp-watch.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/ppp-watch.c') 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)); } -- cgit v1.2.1