Don't explode if you already have the context

This commit is contained in:
Luke Murphy 2020-10-28 17:32:30 +01:00
parent 8909a46d8c
commit db766f4aec
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

3
abra
View File

@ -737,7 +737,8 @@ sub_server_add() {
fi
docker context create "$HOST" \
--docker "host=ssh://$USERNAME$HOST$PORT"
--docker "host=ssh://$USERNAME$HOST$PORT" \
|| true
mkdir -p "$ABRA_DIR/$HOST"
}