diff options
author | Roy Marples <roy@marples.name> | 2007-10-10 06:24:08 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-10-10 06:24:08 +0000 |
commit | 25091eb4f49c68f8733387449b95bbd2a0ea8439 (patch) | |
tree | c61ad7559504e19029182d2a5d233950510dbd64 /src | |
parent | 183b7464d32266352c1e70df3c9b10bb6fa0bfcf (diff) |
Don't run the done hook twice
Diffstat (limited to 'src')
-rw-r--r-- | src/runscript.c | 4 |
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); |