Make ezjail-list not wider than 80 chars, if possible
This commit is contained in:
parent
99c0ffc613
commit
6a81003aee
@ -399,7 +399,7 @@ check_for_zfs_exist () {
|
||||
|
||||
#############################
|
||||
# End of function definitions
|
||||
#
|
||||
# "
|
||||
|
||||
# check for command
|
||||
[ $# -gt 0 ] || exerr ${ezjail_usage_ezjailadmin}
|
||||
@ -778,7 +778,7 @@ list)
|
||||
[ -d "${ezjail_prefix}/etc/ezjail/" ] && cd "${ezjail_prefix}/etc/ezjail/" && ezjail_list=`ls | xargs rcorder`
|
||||
|
||||
printf "%-3s %-4s %-15s %-30s %s\\n" STA JID IP Hostname "Root Directory"
|
||||
echo "--- ---- --------------- ------------------------------ -------------------------"
|
||||
echo "--- ---- --------------- ------------------------------ ------------------------"
|
||||
for ezjail in ${ezjail_list}; do
|
||||
fetchjailinfo ${ezjail%.norun}
|
||||
case ${ezjail_imagetype} in simple) ezjail_state="I";; bde) ezjail_state="B";; eli) ezjail_state="E";; *) ezjail_state="D";; esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user