summaryrefslogtreecommitdiff
path: root/src/rc/runscript.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-06-10 15:04:29 +0000
committerRoy Marples <roy@marples.name>2008-06-10 15:04:29 +0000
commit9b1cb4e24690fd08f6eac1579fa2f90c7dea5d33 (patch)
tree1a4981038569d7aae2ec858f437fdffbcd1d13cc /src/rc/runscript.c
parent2adc99a8f5919c7266ab1d4f1c33f969f330c6e5 (diff)
downloadopenrc-9b1cb4e24690fd08f6eac1579fa2f90c7dea5d33.tar.gz
openrc-9b1cb4e24690fd08f6eac1579fa2f90c7dea5d33.tar.bz2
openrc-9b1cb4e24690fd08f6eac1579fa2f90c7dea5d33.tar.xz
When we have dependant scheduled services, don't error if a need is stopped.
Diffstat (limited to 'src/rc/runscript.c')
-rw-r--r--src/rc/runscript.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/runscript.c b/src/rc/runscript.c
index 179cd0a..876503a 100644
--- a/src/rc/runscript.c
+++ b/src/rc/runscript.c
@@ -792,7 +792,7 @@ static void svc_start(bool deps)
if (! tmplist)
tmplist = rc_stringlist_new();
rc_stringlist_add(tmplist, svc->value);
- } else
+ } else if (!tmplist)
eerrorx("ERROR: cannot start %s as"
" %s would not start",
applet, svc->value);