Dont prevent recreating existing jails :/
This commit is contained in:
parent
16aa872f69
commit
8f46463b94
@ -81,7 +81,7 @@ create)
|
|||||||
|
|
||||||
# if a directory at the specified jail root already exists, refuse to
|
# if a directory at the specified jail root already exists, refuse to
|
||||||
# install
|
# install
|
||||||
[ -e ${newjail_root} ] && exerr "Error: the specified jail root ${newjail_root} alread exists."
|
[ -e ${newjail_root} -a "${newjail_fill} = "YES" ] && exerr "Error: the specified jail root ${newjail_root} alread exists."
|
||||||
|
|
||||||
# if jail root specified on command line does not lie within our jail
|
# if jail root specified on command line does not lie within our jail
|
||||||
# directory, we need to create a softlink
|
# directory, we need to create a softlink
|
||||||
|
Loading…
x
Reference in New Issue
Block a user