aboutsummaryrefslogtreecommitdiff
path: root/src/startstop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/startstop.c')
-rw-r--r--src/startstop.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/startstop.c b/src/startstop.c
index f5346c4..98f4e12 100644
--- a/src/startstop.c
+++ b/src/startstop.c
@@ -63,2 +63,7 @@ eclat_start_instance(eclat_command_env_t *env, int argc, char **argv)
63 63
64
65static int force;
66
67#include "stop-cl.h"
68
64int 69int
@@ -68,10 +73,9 @@ eclat_stop_instance(eclat_command_env_t *env, int argc, char **argv)
68 73
69 parse_options(env->cmd, 74 parse_stop_options(env, argc, argv, &i);
70 "Stop named instances",
71 argc, argv, &i);
72
73 debug(ECLAT_DEBCAT_MAIN, 1, ("stopping instances")); 75 debug(ECLAT_DEBCAT_MAIN, 1, ("stopping instances"));
76 if (force)
77 eclat_request_add_param(env->request, "Force", "1");
74 return start_stop_instance(env, argc - i, argv + i); 78 return start_stop_instance(env, argc - i, argv + i);
75} 79}
76 80
77int 81int

Return to:

Send suggestions and report system problems to the System administrator.