summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2011-07-27 11:20:32 +0000
committererdgeist <erdgeist@erdgeist.org>2011-07-27 11:20:32 +0000
commit8228b950df2d1ceaab86057c85e82c41f8329d50 (patch)
tree30ce50cd10438a479a6cbde866c1d4fc1bb0a143
parent365dfd16bc6a2ee067956d1caab0be3395b302b4 (diff)
Fix: When stopped jail , ezjail-admin console is successfull. Thanks to Tsubasa Nomura
-rwxr-xr-xezjail-admin2
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 7d7fc05..15571f7 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -1050,7 +1050,7 @@ console)
1050 if [ -z "${ezjail_id}" ]; then 1050 if [ -z "${ezjail_id}" ]; then
1051 1051
1052 # If force start is requested, try that 1052 # If force start is requested, try that
1053 [ "$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." 1053 [ "${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."
1054 1054
1055 # This one will also exerr on failure 1055 # This one will also exerr on failure
1056 start_stop_jail_by_script onestart 1056 start_stop_jail_by_script onestart