mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-28 15:36:29 +00:00
Update hassio-cli
This commit is contained in:
parent
0866b4cba5
commit
82c8b982e8
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user