This commit is contained in:
Hans Karlinius
2024-12-03 11:37:17 +01:00
parent 5936b60841
commit 3822e8e9f2
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
name: VirtualHere Client
version: "0.1.345"
version: "0.1.346"
slug: vhclient
description: VirtualHere Client
arch:

View File

@@ -4,7 +4,7 @@ bashio::log.info "Waiting a bit for vhclient ..."
sleep 5s
server_connection=$(/usr/bin/vhclient -t "GET CLIENT STATE" | awk '/<connection/{print}')
bashio::log.info "Server: ${server_connection}"
if [ -z $server_connection] then; do
if [ -z $server_connection]; then
bashio::log.error "Failed to connect to server"
exit 1
fi