summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <de@gsmk.de>2014-06-09 23:43:29 +0200
committererdgeist <de@gsmk.de>2014-06-09 23:43:29 +0200
commitee32fbf4d87c4460e10b6c382959e9b07e0e25e2 (patch)
treefa33f0e0999f8793f3dd893e4fa1876314230bbd
parent932086bcb78e0d90ca4fffe9bd63b16b30e79601 (diff)
Do not check for success when starting or stopping jails configured as norun
-rwxr-xr-xezjail-admin1
1 files changed, 1 insertions, 0 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 449a6e6..347b0a2 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -144,6 +144,7 @@ start_stop_jail_by_script () {
144 shift 144 shift
145 for ezjail; do 145 for ezjail; do
146 fetchjailinfo ${ezjail} 146 fetchjailinfo ${ezjail}
147 case ${ezjail_config} in *.norun) continue;; esac
147 [ ${ezjail_success_check} "${ezjail_id}" ] || exerr "Error: Could not ${ezjail_action} $@.\n You need to ${ezjail_action} it by hand." 148 [ ${ezjail_success_check} "${ezjail_id}" ] || exerr "Error: Could not ${ezjail_action} $@.\n You need to ${ezjail_action} it by hand."
148 done 149 done
149} 150}