When we have dependant scheduled services, don't error if a need is stopped.
This commit is contained in:
parent
2adc99a8f5
commit
9b1cb4e246
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user