summaryrefslogtreecommitdiff
path: root/ezjail-admin
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2010-02-05 11:27:28 +0000
committererdgeist <erdgeist@erdgeist.org>2010-02-05 11:27:28 +0000
commitb7a57fe3290c216ab66c326aab35ed31ff59b094 (patch)
treebda3adf4a28687cd1ac9a2ad764ea40e4b87162c /ezjail-admin
parentb78a01cb0e2c959e4753723e940a3807c0381a8e (diff)
Ensure that no-ip jails are listed as well
Diffstat (limited to 'ezjail-admin')
-rwxr-xr-xezjail-admin2
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 614419c..4a80c45 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -758,7 +758,7 @@ list)
758 [ "${ezjail_safename}" != "${ezjail}" ] && ezjail_state="${ezjail_state}N" 758 [ "${ezjail_safename}" != "${ezjail}" ] && ezjail_state="${ezjail_state}N"
759 759
760 TIFS=${IFS}; IFS=,; unset _multiline 760 TIFS=${IFS}; IFS=,; unset _multiline
761 for ezjail_ip in ${ezjail_ips}; do 761 for ezjail_ip in ${ezjail_ips:="-"}; do
762 if [ -z "${_multiline}" ]; then 762 if [ -z "${_multiline}" ]; then
763 printf "%-3s %-4s %-15s %-30s %s\\n" "${ezjail_state}" "${ezjail_id:-N/A}" "${ezjail_ip}" "${ezjail_hostname}" "${ezjail_rootdir}" 763 printf "%-3s %-4s %-15s %-30s %s\\n" "${ezjail_state}" "${ezjail_id:-N/A}" "${ezjail_ip}" "${ezjail_hostname}" "${ezjail_rootdir}"
764 _multiline=yes 764 _multiline=yes