From ebd426353ed9a701d3dafdeeacc857d8ba56b90b Mon Sep 17 00:00:00 2001
From: erdgeist <erdgeist@erdgeist.org>
Date: Fri, 8 Jan 2010 22:48:10 +0000
Subject: add jail id to every jail ip-line

---
 ezjail-admin | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ezjail-admin b/ezjail-admin
index 4bcc3d5..bbeb28d 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -748,7 +748,7 @@ list)
         printf "%-3s %-4s %-15s %-30s %s\\n" "${ezjail_state}" "${ezjail_id:-N/A}" "${ezjail_ip}" "${ezjail_hostname}" "${ezjail_rootdir}"
         _multiline=yes
       else
-        echo " ...     ${ezjail_ip}"
+        printf "    %-4s %s\\n" "${ezjail_id:-N/A}" "${ezjail_ip}"
       fi
     done
     IFS=${TIFS}
-- 
cgit v1.2.3