diff options
-rwxr-xr-x | ezjail-admin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ezjail-admin b/ezjail-admin index 2ea7328..be8e032 100755 --- a/ezjail-admin +++ b/ezjail-admin | |||
@@ -399,7 +399,7 @@ check_for_zfs_exist () { | |||
399 | 399 | ||
400 | ############################# | 400 | ############################# |
401 | # End of function definitions | 401 | # End of function definitions |
402 | # | 402 | # " |
403 | 403 | ||
404 | # check for command | 404 | # check for command |
405 | [ $# -gt 0 ] || exerr ${ezjail_usage_ezjailadmin} | 405 | [ $# -gt 0 ] || exerr ${ezjail_usage_ezjailadmin} |
@@ -778,7 +778,7 @@ list) | |||
778 | [ -d "${ezjail_prefix}/etc/ezjail/" ] && cd "${ezjail_prefix}/etc/ezjail/" && ezjail_list=`ls | xargs rcorder` | 778 | [ -d "${ezjail_prefix}/etc/ezjail/" ] && cd "${ezjail_prefix}/etc/ezjail/" && ezjail_list=`ls | xargs rcorder` |
779 | 779 | ||
780 | printf "%-3s %-4s %-15s %-30s %s\\n" STA JID IP Hostname "Root Directory" | 780 | printf "%-3s %-4s %-15s %-30s %s\\n" STA JID IP Hostname "Root Directory" |
781 | echo "--- ---- --------------- ------------------------------ -------------------------" | 781 | echo "--- ---- --------------- ------------------------------ ------------------------" |
782 | for ezjail in ${ezjail_list}; do | 782 | for ezjail in ${ezjail_list}; do |
783 | fetchjailinfo ${ezjail%.norun} | 783 | fetchjailinfo ${ezjail%.norun} |
784 | case ${ezjail_imagetype} in simple) ezjail_state="I";; bde) ezjail_state="B";; eli) ezjail_state="E";; *) ezjail_state="D";; esac | 784 | case ${ezjail_imagetype} in simple) ezjail_state="I";; bde) ezjail_state="B";; eli) ezjail_state="E";; *) ezjail_state="D";; esac |