When we have dependant scheduled services, don't error if a need is stopped.

This commit is contained in:
Roy Marples 2008-06-10 15:04:29 +00:00
parent 2adc99a8f5
commit 9b1cb4e246

View File

@ -792,7 +792,7 @@ static void svc_start(bool deps)
if (! tmplist) if (! tmplist)
tmplist = rc_stringlist_new(); tmplist = rc_stringlist_new();
rc_stringlist_add(tmplist, svc->value); rc_stringlist_add(tmplist, svc->value);
} else } else if (!tmplist)
eerrorx("ERROR: cannot start %s as" eerrorx("ERROR: cannot start %s as"
" %s would not start", " %s would not start",
applet, svc->value); applet, svc->value);