Fix state change
This commit is contained in:
parent
029397c2d4
commit
d84ba6a6a4
|
@ -40,7 +40,7 @@ function write_json {
|
|||
return
|
||||
fi
|
||||
|
||||
if [ "$status" -eq 0 ]
|
||||
if [ "$status" -gt 0 ]
|
||||
then
|
||||
printf "$TEMPLATE_JSON" $OPEN_JSON $( date +%s ) > $STATUS_JSON
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue