aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/runscript.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/runscript.c b/src/runscript.c
index d2c92879..74a84c00 100644
--- a/src/runscript.c
+++ b/src/runscript.c
@@ -937,10 +937,8 @@ static void svc_stop (bool deps)
if (ibsave)
unsetenv ("IN_BACKGROUND");
- if (! in_control ()) {
- rc_plugin_run (RC_HOOK_SERVICE_STOP_DONE, applet);
+ if (! in_control ())
ewarnx ("WARNING: %s not under our control, aborting", applet);
- }
if (! stopped)
eerrorx ("ERROR: %s failed to stop", applet);