summaryrefslogtreecommitdiff
path: root/ezjail-admin
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2007-10-14 20:26:53 +0000
committererdgeist <erdgeist@erdgeist.org>2007-10-14 20:26:53 +0000
commit78de4b0846b800934b8efcb4f4c6d2a065093a2e (patch)
tree38e3f7198e32f7ef0f033c3170ca70a4d1a1558d /ezjail-admin
parent32f4547b22f5b6d6b871ebb4806126b36430e610 (diff)
cosmetics
Diffstat (limited to 'ezjail-admin')
-rwxr-xr-xezjail-admin6
1 files changed, 2 insertions, 4 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 41d9e89..4341cf9 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -804,12 +804,10 @@ archive)
804 [ $# -gt 1 -a "${ezjail_archive}" ] && exerr "Error: Must not specify an archive location for multiple archives." 804 [ $# -gt 1 -a "${ezjail_archive}" ] && exerr "Error: Must not specify an archive location for multiple archives."
805 805
806 # Either all or only some. Decide. 806 # Either all or only some. Decide.
807 [ $# -gt 0 -a "${ezjail_archivealljails}" ] && exerr "Error: Must not specify an ezjail to backup with -a." 807 [ $# -gt 0 -a "${ezjail_archivealljails}" ] && exerr "Error: Must not specify an ezjail to backup with -A."
808 808
809 # Fetch list of all ezjails 809 # Fetch list of all ezjails
810 if [ "${ezjail_archivealljails}" ]; then 810 [ "${ezjail_archivealljails}" -a -d "${ezjail_prefix}/etc/ezjail/" ] && cd "${ezjail_prefix}/etc/ezjail/" && set - `ls | xargs rcorder`
811 [ -d "${ezjail_prefix}/etc/ezjail/" ] && cd "${ezjail_prefix}/etc/ezjail/" && set - `ls | xargs rcorder`
812 fi
813 811
814 while [ $# -gt 0 ]; do 812 while [ $# -gt 0 ]; do
815 # Jail name mandatory 813 # Jail name mandatory