diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2010-01-08 22:14:49 +0000 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2010-01-08 22:14:49 +0000 |
| commit | fb6210964ee5c0439b7bd1978b7f3364cfac0e8e (patch) | |
| tree | f057815a01aec56bdbbe1ab9e9223ee978488f59 | |
| parent | a7c0da9712861c7653937c16c272c64a35c95c91 (diff) | |
Fix if[]-typo, fix spacing before secondary lines in ezjails with multiple ip addresses
| -rwxr-xr-x | ezjail-admin | 6 |
1 files 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) | |||
| 744 | 744 | ||
| 745 | TIFS=${IFS}; IFS=,; unset _multiline | 745 | TIFS=${IFS}; IFS=,; unset _multiline |
| 746 | for ezjail_ip in ${ezjail_ips}; do | 746 | for ezjail_ip in ${ezjail_ips}; do |
| 747 | if[ -z "${_multiline}" ]; then | 747 | if [ -z "${_multiline}" ]; then |
| 748 | printf "%-3s %-5s %-15s %-28s %s\\n" "${ezjail_state}" "${ezjail_id:-N/A}" "${ezjail_ip}" "${ezjail_hostname}" "${ezjail_rootdir}" | 748 | printf "%-3s %-5s %-15s %-28s %s\\n" "${ezjail_state}" "${ezjail_id:-N/A}" "${ezjail_ip}" "${ezjail_hostname}" "${ezjail_rootdir}" |
| 749 | else | ||
| 750 | echo " ${ezjail_ip}" | ||
| 751 | _multiline=yes | 749 | _multiline=yes |
| 750 | else | ||
| 751 | echo " ${ezjail_ip}" | ||
| 752 | fi | 752 | fi |
| 753 | done | 753 | done |
| 754 | IFS=${TIFS} | 754 | IFS=${TIFS} |
