Fix: When stopped jail , ezjail-admin console is successfull. Thanks to Tsubasa Nomura

This commit is contained in:
erdgeist 2011-07-27 11:20:32 +00:00
parent 365dfd16bc
commit 8228b950df

View File

@ -1050,7 +1050,7 @@ console)
if [ -z "${ezjail_id}" ]; then
# 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
start_stop_jail_by_script onestart