aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 179cd0a1..876503af 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);