Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 220579
Collapse All | Expand All

(-)a/src/rc/runscript.c (-5 / +7 lines)
Lines 877-887 static void svc_start(bool deps) Link Here
877
	}
877
	}
878
878
879
	/* Do the same for any services we provide */
879
	/* Do the same for any services we provide */
880
	tmplist = rc_deptree_depend(deptree, "iprovide", applet);
880
	if (deptree) {
881
	if (tmplist) {
881
		tmplist = rc_deptree_depend(deptree, "iprovide", applet);
882
		TAILQ_FOREACH(svc, tmplist, entries) {
882
		if (tmplist) {
883
			services = rc_services_scheduled(svc->value);
883
			TAILQ_FOREACH(svc, tmplist, entries) {
884
			if (services) {
884
				services = rc_services_scheduled(svc->value);
885
				if (! services)
886
					continue;
885
				TAILQ_FOREACH(svc2, services, entries)
887
				TAILQ_FOREACH(svc2, services, entries)
886
					if (rc_service_state(svc2->value) & RC_SERVICE_STOPPED)
888
					if (rc_service_state(svc2->value) & RC_SERVICE_STOPPED)
887
						service_start(svc2->value);
889
						service_start(svc2->value);

Return to bug 220579