summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-06-30 01:39:12 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-06-30 01:39:12 +0000
commit42662e28abfc4dc3a8001316cda5b8514e0bb2ea (patch)
tree10220953718e50911ef60816869c3dd6003353ea
parentReleasing version 20170629. (diff)
downloadcompute-tools-42662e28abfc4dc3a8001316cda5b8514e0bb2ea.tar.xz
compute-tools-42662e28abfc4dc3a8001316cda5b8514e0bb2ea.zip
Correcting boolean typo when checking for existence of new container in container move command, thanks to Simon Spöhel <simon.spoehel@open-infrastructure.net>.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-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