Fix a bug, so that we are force starting a single jail only, when console -f is requested.
This commit is contained in:
parent
acf7435c20
commit
d90ce7e051
@ -1104,7 +1104,7 @@ console)
|
|||||||
[ "${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 ${ezjail_name}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# use the jails FIB if there is one
|
# use the jails FIB if there is one
|
||||||
|
Loading…
x
Reference in New Issue
Block a user