Update run.sh

This commit is contained in:
Pascal Vizeli
2017-07-22 17:26:23 +02:00
committed by GitHub
parent 5e5b4138e8
commit 257a9c2dc0

View File

@@ -25,7 +25,7 @@ fi
if [ ! -f "$CRED_JSON" ] && [ -f "$CLIENT_JSON" ]; then
echo "[Info] Start WebUI for handling oauth2"
python3 /hassio_oauth.py "$CLIENT_JSON" "$CRED_JSON"
else
elif [ ! -f "$CRED_JSON" ]; then
echo "[Error] You need initialize GoogleAssistant with a client secret json!"
exit 1
fi