summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2010-01-08 22:35:54 +0000
committererdgeist <erdgeist@erdgeist.org>2010-01-08 22:35:54 +0000
commitd6f35d8fa13917f6e4974c9c926730acc7df1635 (patch)
treeb11333312e467f722e0cf76f05120508f20e9487
parent069c22e6aeb950093c7cf2fc704d69ad7be22550 (diff)
make it clearer, that multiple addresses are listed on multiple lines
-rwxr-xr-xezjail-admin4
1 files changed, 2 insertions, 2 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 6ba5f27..4bcc3d5 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -731,7 +731,7 @@ list)
731 [ -d "${ezjail_prefix}/etc/ezjail/" ] && cd "${ezjail_prefix}/etc/ezjail/" && ezjail_list=`ls | xargs rcorder` 731 [ -d "${ezjail_prefix}/etc/ezjail/" ] && cd "${ezjail_prefix}/etc/ezjail/" && ezjail_list=`ls | xargs rcorder`
732 732
733 printf "%-3s %-4s %-15s %-30s %s\\n" STA JID IP Hostname "Root Directory" 733 printf "%-3s %-4s %-15s %-30s %s\\n" STA JID IP Hostname "Root Directory"
734 echo "--- ---- --------------- ---------------------------- -------------------------" 734 echo "--- ---- --------------- ------------------------------ -------------------------"
735 for ezjail in ${ezjail_list}; do 735 for ezjail in ${ezjail_list}; do
736 fetchjailinfo ${ezjail%.norun} 736 fetchjailinfo ${ezjail%.norun}
737 case ${ezjail_imagetype} in simple) ezjail_state="I";; bde) ezjail_state="B";; eli) ezjail_state="E";; *) ezjail_state="D";; esac 737 case ${ezjail_imagetype} in simple) ezjail_state="I";; bde) ezjail_state="B";; eli) ezjail_state="E";; *) ezjail_state="D";; esac
@@ -748,7 +748,7 @@ list)
748 printf "%-3s %-4s %-15s %-30s %s\\n" "${ezjail_state}" "${ezjail_id:-N/A}" "${ezjail_ip}" "${ezjail_hostname}" "${ezjail_rootdir}" 748 printf "%-3s %-4s %-15s %-30s %s\\n" "${ezjail_state}" "${ezjail_id:-N/A}" "${ezjail_ip}" "${ezjail_hostname}" "${ezjail_rootdir}"
749 _multiline=yes 749 _multiline=yes
750 else 750 else
751 echo " ${ezjail_ip}" 751 echo " ... ${ezjail_ip}"
752 fi 752 fi
753 done 753 done
754 IFS=${TIFS} 754 IFS=${TIFS}