summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xezjail-admin5
1 files changed, 3 insertions, 2 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 6efdfbc..4dd1829 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -290,8 +290,9 @@ delete)
290 ;; 290 ;;
291######################## ezjail-admin LIST ######################## 291######################## ezjail-admin LIST ########################
292list) 292list)
293 jail_list=`ls ${ezjail_jailcfgs}` 293 ezjail_list=${ezjail_list:-`rcorder ${ezjail_prefix}/etc/ezjail/*`}
294 for jail in ${jail_list}; do 294 ezjail_list=`basename -a ${ezjail_list}`
295 for jail in ${ezjail_list}; do
295 . ${ezjail_jailcfgs}/${jail} 296 . ${ezjail_jailcfgs}/${jail}
296 eval jail_ip=\"\$jail_${jail}_ip\" 297 eval jail_ip=\"\$jail_${jail}_ip\"
297 eval jail_hostname=\"\$jail_${jail}_hostname\" 298 eval jail_hostname=\"\$jail_${jail}_hostname\"