From fb6210964ee5c0439b7bd1978b7f3364cfac0e8e Mon Sep 17 00:00:00 2001 From: erdgeist Date: Fri, 8 Jan 2010 22:14:49 +0000 Subject: Fix if[]-typo, fix spacing before secondary lines in ezjails with multiple ip addresses --- ezjail-admin | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ezjail-admin b/ezjail-admin index 6b7d59f..b82adcf 100755 --- a/ezjail-admin +++ b/ezjail-admin @@ -744,11 +744,11 @@ list) TIFS=${IFS}; IFS=,; unset _multiline for ezjail_ip in ${ezjail_ips}; do - if[ -z "${_multiline}" ]; then + if [ -z "${_multiline}" ]; then printf "%-3s %-5s %-15s %-28s %s\\n" "${ezjail_state}" "${ezjail_id:-N/A}" "${ezjail_ip}" "${ezjail_hostname}" "${ezjail_rootdir}" - else - echo " ${ezjail_ip}" _multiline=yes + else + echo " ${ezjail_ip}" fi done IFS=${TIFS} -- cgit v1.2.3