summaryrefslogtreecommitdiff
path: root/ezjail-admin
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2010-01-08 22:14:49 +0000
committererdgeist <erdgeist@erdgeist.org>2010-01-08 22:14:49 +0000
commitfb6210964ee5c0439b7bd1978b7f3364cfac0e8e (patch)
treef057815a01aec56bdbbe1ab9e9223ee978488f59 /ezjail-admin
parenta7c0da9712861c7653937c16c272c64a35c95c91 (diff)
Fix if[]-typo, fix spacing before secondary lines in ezjails with multiple ip addresses
Diffstat (limited to 'ezjail-admin')
-rwxr-xr-xezjail-admin6
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}