Update hassio-cli

This commit is contained in:
Pascal Vizeli 2018-04-12 13:33:25 +02:00 committed by GitHub
parent 0866b4cba5
commit 82c8b982e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,12 @@ DOCKER_ARGS="$(jq --raw-output '.cli_args // empty' $CONFIG_FILE)"
# Update CLI # Update CLI
if docker --pull $CLI > /dev/null 2>&1; then if docker --pull $CLI > /dev/null 2>&1; then
# FIXME: cleanup # FIXME: cleanup
fi fi
docker run --rm -ti $DOCKER_ARGS $CLI docker run --rm -ti $DOCKER_ARGS $CLI
if [ $? -eq 10 ]; then
sh
fi
logout