mirror of
git://github.com/lxc/lxc
synced 2025-08-31 01:59:33 +00:00
remove the check for container path as it's done in lxc-create
Signed-off-by: InformatiQ <rhanna@informatiq.org> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
This commit is contained in:
committed by
Daniel Lezcano
parent
ac70c6cf97
commit
f7b98d38f0
@@ -330,11 +330,6 @@ rootfs_path=$path/$name/rootfs
|
||||
config_path=$default_path/$name
|
||||
cache=$cache_base/$release
|
||||
|
||||
if [ -f $config_path/config ]; then
|
||||
echo "A container with that name exists, chose a different name"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
revert()
|
||||
{
|
||||
echo "Interrupted, so cleaning up"
|
||||
|
Reference in New Issue
Block a user