summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2013-09-01 13:09:43 +0000
committererdgeist <erdgeist@erdgeist.org>2013-09-01 13:09:43 +0000
commitb267b62dad37368e15dfe4c7978dd808785e4f95 (patch)
treee3a8b683ff6c547da5f40b8de65053192fed33eb
parentf502741f81a7b76c8c1d8b0b7a75426da000d707 (diff)
Make the test for jail feature official
-rwxr-xr-xezjail-admin1
1 files changed, 1 insertions, 0 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 816285e..0f265e3 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -1584,6 +1584,7 @@ config)
1584 case "${ezjail_setrunnable}" in 1584 case "${ezjail_setrunnable}" in
1585 run) [ "${ezjail_config}" = "${ezjail_config%.norun}" ] || mv "${ezjail_config}" "${ezjail_config%.norun}";; 1585 run) [ "${ezjail_config}" = "${ezjail_config%.norun}" ] || mv "${ezjail_config}" "${ezjail_config%.norun}";;
1586 norun) [ "${ezjail_config}" = "${ezjail_config%.norun}" ] && mv "${ezjail_config}" "${ezjail_config}.norun";; 1586 norun) [ "${ezjail_config}" = "${ezjail_config%.norun}" ] && mv "${ezjail_config}" "${ezjail_config}.norun";;
1587 test) [ "${ezjail_config}" = "${ezjail_config%.norun}" ] && echo "Jail ${ezjail_name} is runnable" || echo "Jail ${ezjail_name} is not runnable";;
1587 esac 1588 esac
1588 1589
1589 [ "${ezjail_imageaction}" -a -z "${ezjail_image}" ] && exerr "Error: Jail ${ezjail_name} not an image jail." 1590 [ "${ezjail_imageaction}" -a -z "${ezjail_image}" ] && exerr "Error: Jail ${ezjail_name} not an image jail."