summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfred <frederic.perrin@resel.fr>2011-04-25 13:25:25 +0000
committerfred <frederic.perrin@resel.fr>2011-04-25 13:25:25 +0000
commit68314397493b68c41f8a6e7346213d7c9012994d (patch)
treeffa9f26b1ffb547e5f8d035272c81390eafa8baa
parentdd7bca0c0046c25a2d5777265ca59a9f6523644e (diff)
Simplify the rcorder call in `ezjail-admin list'
-rwxr-xr-xezjail-admin2
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 887fabf..7efccaf 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -807,7 +807,7 @@ list)
807 [ $# -eq 1 ] || exerr ${ezjail_usage_list} 807 [ $# -eq 1 ] || exerr ${ezjail_usage_list}
808 unset ezjail_list 808 unset ezjail_list
809 809
810 [ -d "${ezjail_prefix}/etc/ezjail/" ] && cd "${ezjail_prefix}/etc/ezjail/" && ezjail_list=`ls | xargs rcorder` 810 cd ${ezjail_jailcfgs} && ezjail_list=`rcorder *`
811 811
812 printf "%-3s %-4s %-15s %-30s %s\\n" STA JID IP Hostname "Root Directory" 812 printf "%-3s %-4s %-15s %-30s %s\\n" STA JID IP Hostname "Root Directory"
813 echo "--- ---- --------------- ------------------------------ ------------------------" 813 echo "--- ---- --------------- ------------------------------ ------------------------"