mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-30 08:27:40 +01:00
test
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
|
||||
START_TIME=`date +%s`
|
||||
START_TIME="$(date +%s)"
|
||||
|
||||
echo "Waiting for first healthcheck execution (max $FIRST_HEALTHCHECK_TIMEOUT seconds)..."
|
||||
|
||||
@@ -8,7 +8,7 @@ while [ ! -f "/tmp/healthcheck-signal" ];
|
||||
do
|
||||
sleep 1
|
||||
|
||||
ELAPSED_TIME=`expr \`date +%s\` - $START_TIME`
|
||||
ELAPSED_TIME="$(expr \date +%s\ - $START_TIME)"
|
||||
|
||||
if [ $ELAPSED_TIME -gt $FIRST_HEALTHCHECK_TIMEOUT ]
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user