summaryrefslogtreecommitdiffstats
path: root/lib/container/move
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2017-07-01 07:29:16 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2017-07-01 07:31:18 +0000
commit5f5e894233f2ddcc286213be509bb2115c638a69 (patch)
treeaa9acc59c7be469622c20c8604bb0bd27b5acc94 /lib/container/move
parentAdding upstream version 20170629. (diff)
downloadopen-infrastructure-compute-tools-5f5e894233f2ddcc286213be509bb2115c638a69.tar.xz
open-infrastructure-compute-tools-5f5e894233f2ddcc286213be509bb2115c638a69.zip
Adding upstream version 20170701.upstream/20170701
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'lib/container/move')
-rwxr-xr-xlib/container/move2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/container/move b/lib/container/move
index 4d64c8a..3cc2e40 100755
--- a/lib/container/move
+++ b/lib/container/move
@@ -89,7 +89,7 @@ then
exit 1
fi
-if [ ! -e "${MACHINES}/${NEW}" ]
+if [ -e "${MACHINES}/${NEW}" ]
then
echo "'${NEW}': container already exists" >&2
exit 1