/[baselayout]/trunk/src/runscript.c
Gentoo

Diff of /trunk/src/runscript.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2738 Revision 2740
654 /* We use tmplist to hold our scheduled by list */ 654 /* We use tmplist to hold our scheduled by list */
655 rc_strlist_free (tmplist); 655 rc_strlist_free (tmplist);
656 tmplist = NULL; 656 tmplist = NULL;
657 657
658 STRLIST_FOREACH (services, svc, i) { 658 STRLIST_FOREACH (services, svc, i) {
659 /* don't wait for services which went inactive but are now in
660 * starting state */
659 if (rc_service_state (svc, rc_service_started)) 661 if (rc_service_state (svc, rc_service_started) ||
662 (rc_service_state (svc, rc_service_starting) &&
663 rc_service_state(svc, rc_service_wasinactive)))
660 continue; 664 continue;
665
661 if (! rc_wait_service (svc)) 666 if (! rc_wait_service (svc))
662 eerror ("%s: timed out waiting for %s", applet, svc); 667 eerror ("%s: timed out waiting for %s", applet, svc);
663 if (rc_service_state (svc, rc_service_started)) 668 if (rc_service_state (svc, rc_service_started))
664 continue; 669 continue;
665 670

Legend:
Removed from v.2738  
changed lines
  Added in v.2740

  ViewVC Help
Powered by ViewVC 1.1.20