From 2613316686a95986f88d5b8521ef82baa7617088 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 9 Oct 2007 21:13:08 +0000 Subject: Fix failed services a little, and make timeout more sane --- src/rc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/rc.c') diff --git a/src/rc.c b/src/rc.c index 7058be15..c236bd50 100644 --- a/src/rc.c +++ b/src/rc.c @@ -317,6 +317,8 @@ static int do_mark_service (int argc, char **argv) ok = rc_service_mark (argv[0], RC_SERVICE_STOPPING); else if (strcmp (applet, "mark_service_coldplugged") == 0) ok = rc_service_mark (argv[0], RC_SERVICE_COLDPLUGGED); + else if (strcmp (applet, "mark_service_failed") == 0) + ok = rc_service_mark (argv[0], RC_SERVICE_FAILED); else eerrorx ("%s: unknown applet", applet); @@ -1057,7 +1059,6 @@ int main (int argc, char **argv) } } closedir (dp); - rmdir (RC_SVCDIR "/failed"); } mkdir (RC_STOPPING, 0755); -- cgit v1.2.3