diff options
-rwxr-xr-x | ezjail-admin | 2 |
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 |