diff options
author | erdgeist <erdgeist@erdgeist.org> | 2006-02-23 00:05:34 +0000 |
---|---|---|
committer | erdgeist <erdgeist@erdgeist.org> | 2006-02-23 00:05:34 +0000 |
commit | 8f46463b94960806e5a84b5e6d2f4db025feadc2 (patch) | |
tree | 1a899b03c879b08ef6528a4c7d1519ce363272a9 | |
parent | 16aa872f692f570c18f0004abd56c1ca7616b166 (diff) |
Dont prevent recreating existing jails :/
-rwxr-xr-x | ezjail-admin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin index 330b1b2..6fdc750 100755 --- a/ezjail-admin +++ b/ezjail-admin | |||
@@ -81,7 +81,7 @@ create) | |||
81 | 81 | ||
82 | # if a directory at the specified jail root already exists, refuse to | 82 | # if a directory at the specified jail root already exists, refuse to |
83 | # install | 83 | # install |
84 | [ -e ${newjail_root} ] && exerr "Error: the specified jail root ${newjail_root} alread exists." | 84 | [ -e ${newjail_root} -a "${newjail_fill} = "YES" ] && exerr "Error: the specified jail root ${newjail_root} alread exists." |
85 | 85 | ||
86 | # if jail root specified on command line does not lie within our jail | 86 | # if jail root specified on command line does not lie within our jail |
87 | # directory, we need to create a softlink | 87 | # directory, we need to create a softlink |