From b267b62dad37368e15dfe4c7978dd808785e4f95 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sun, 1 Sep 2013 13:09:43 +0000 Subject: Make the test for jail feature official --- ezjail-admin | 1 + 1 file changed, 1 insertion(+) (limited to 'ezjail-admin') diff --git a/ezjail-admin b/ezjail-admin index 816285e..0f265e3 100755 --- a/ezjail-admin +++ b/ezjail-admin @@ -1584,6 +1584,7 @@ config) case "${ezjail_setrunnable}" in run) [ "${ezjail_config}" = "${ezjail_config%.norun}" ] || mv "${ezjail_config}" "${ezjail_config%.norun}";; norun) [ "${ezjail_config}" = "${ezjail_config%.norun}" ] && mv "${ezjail_config}" "${ezjail_config}.norun";; + test) [ "${ezjail_config}" = "${ezjail_config%.norun}" ] && echo "Jail ${ezjail_name} is runnable" || echo "Jail ${ezjail_name} is not runnable";; esac [ "${ezjail_imageaction}" -a -z "${ezjail_image}" ] && exerr "Error: Jail ${ezjail_name} not an image jail." -- cgit v1.2.3