Do not check for success when starting or stopping jails configured as norun

This commit is contained in:
erdgeist 2014-06-09 23:43:29 +02:00
parent 932086bcb7
commit ee32fbf4d8

View File

@ -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
}