runscript: clarify the message wrt scheduling

The message about a service being scheduled to start was confusing to
some of our users; I was told this wording is more clear.

X-Gentoo-Bug: 493070
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=493070
This commit is contained in:
William Hubbs 2013-12-13 01:09:55 -06:00
parent 7b5fa011ac
commit 7a35daeab7

View File

@ -210,8 +210,7 @@ start_services(RC_STRINGLIST *list)
{ {
rc_service_schedule_start(service, rc_service_schedule_start(service,
svc->value); svc->value);
ewarn("WARNING: %s is scheduled to started" ewarn("WARNING: %s will start when %s has started",
" when %s has started",
svc->value, applet); svc->value, applet);
} else } else
service_start(svc->value); service_start(svc->value);
@ -760,8 +759,7 @@ svc_start_deps(void)
} }
rc_stringlist_free(tmplist); rc_stringlist_free(tmplist);
tmplist = NULL; tmplist = NULL;
ewarnx("WARNING: %s is scheduled to start when " ewarnx("WARNING: %s will start when %s has started", applet, tmp);
"%s has started", applet, tmp);
free(tmp); free(tmp);
} }