From ee32fbf4d87c4460e10b6c382959e9b07e0e25e2 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Mon, 9 Jun 2014 23:43:29 +0200 Subject: Do not check for success when starting or stopping jails configured as norun --- ezjail-admin | 1 + 1 file changed, 1 insertion(+) (limited to 'ezjail-admin') 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 () { shift for ezjail; do fetchjailinfo ${ezjail} + case ${ezjail_config} in *.norun) continue;; esac [ ${ezjail_success_check} "${ezjail_id}" ] || exerr "Error: Could not ${ezjail_action} $@.\n You need to ${ezjail_action} it by hand." done } -- cgit v1.2.3