Do not check for success when starting or stopping jails configured as norun
This commit is contained in:
parent
932086bcb7
commit
ee32fbf4d8
@ -144,6 +144,7 @@ start_stop_jail_by_script () {
|
|||||||
shift
|
shift
|
||||||
for ezjail; do
|
for ezjail; do
|
||||||
fetchjailinfo ${ezjail}
|
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."
|
[ ${ezjail_success_check} "${ezjail_id}" ] || exerr "Error: Could not ${ezjail_action} $@.\n You need to ${ezjail_action} it by hand."
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user