From 9b1cb4e24690fd08f6eac1579fa2f90c7dea5d33 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 10 Jun 2008 15:04:29 +0000 Subject: When we have dependant scheduled services, don't error if a need is stopped. --- src/rc/runscript.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/rc/runscript.c b/src/rc/runscript.c index 179cd0a1..876503af 100644 --- a/src/rc/runscript.c +++ b/src/rc/runscript.c @@ -792,7 +792,7 @@ static void svc_start(bool deps) if (! tmplist) tmplist = rc_stringlist_new(); rc_stringlist_add(tmplist, svc->value); - } else + } else if (!tmplist) eerrorx("ERROR: cannot start %s as" " %s would not start", applet, svc->value); -- cgit v1.2.3