Fix: When stopped jail , ezjail-admin console is successfull. Thanks to Tsubasa Nomura
This commit is contained in:
parent
365dfd16bc
commit
8228b950df
@ -1050,7 +1050,7 @@ console)
|
|||||||
if [ -z "${ezjail_id}" ]; then
|
if [ -z "${ezjail_id}" ]; then
|
||||||
|
|
||||||
# If force start is requested, try that
|
# If force start is requested, try that
|
||||||
[ "$ezjail_forcestart}" ] || exerr "Error: Jail ${ezjail_name} appears not to be running\n Start it first, or use '${ezjail_admin} console -f ${ezjail_name}' to force start."
|
[ "${ezjail_forcestart}" ] || exerr "Error: Jail ${ezjail_name} appears not to be running\n Start it first, or use '${ezjail_admin} console -f ${ezjail_name}' to force start."
|
||||||
|
|
||||||
# This one will also exerr on failure
|
# This one will also exerr on failure
|
||||||
start_stop_jail_by_script onestart
|
start_stop_jail_by_script onestart
|
||||||
|
Loading…
x
Reference in New Issue
Block a user