a single command string to run, and an inner function (run_command) that runs that single string. Move the list of start/stop commands to run from a switch statement into an array, with a new placeholder parameter IP__OP for actually creating or removing the jail. When jail creation fails, revert all non-exec commands in reverse order. |
||
---|---|---|
.. | ||
command.c | ||
config.c | ||
jail.8 | ||
jail.c | ||
jail.conf.5 | ||
jaillex.l | ||
jailp.h | ||
jailparse.y | ||
Makefile | ||
state.c |