Commit f4566d41 authored by Federico G. Schwindt's avatar Federico G. Schwindt

Polish

parent 2e1a4835
......@@ -272,13 +272,6 @@ process_kill(const struct process *p, const char *sig)
vtc_log(p->vl, 4, "Sent signal %d", j);
}
static inline void
process_stop(const struct process *p)
{
process_kill(p, "TERM");
}
static inline void
process_terminate(const struct process *p)
{
......@@ -376,7 +369,7 @@ cmd_process(CMD_ARGS)
continue;
}
if (!strcmp(*av, "-stop")) {
process_stop(p);
process_kill(p, "TERM");
continue;
}
if (!strcmp(*av, "-write")) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment