summaryrefslogtreecommitdiff
path: root/ezjail-admin
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2010-02-11 17:32:25 +0000
committererdgeist <erdgeist@erdgeist.org>2010-02-11 17:32:25 +0000
commit6a81003aee05bf15e33989b840abf780771fc2af (patch)
tree1d8a3d5344c5b92ee4ecface9732c514182aa5b1 /ezjail-admin
parent99c0ffc6132b6b03b0d6058f5df3a8cccfe2d81b (diff)
Make ezjail-list not wider than 80 chars, if possible
Diffstat (limited to 'ezjail-admin')
-rwxr-xr-xezjail-admin4
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