delete old if statement
This commit is contained in:
parent
587a9bf90a
commit
02b63027e2
|
@ -34,7 +34,6 @@ fi
|
||||||
# training)
|
# training)
|
||||||
gamePk=$(sqlite3 $db "select gamePk from games where teamId='$team' and state='In Progress' limit 1")
|
gamePk=$(sqlite3 $db "select gamePk from games where teamId='$team' and state='In Progress' limit 1")
|
||||||
if [[ -z "$gamePk" ]]
|
if [[ -z "$gamePk" ]]
|
||||||
if [[ "$gamePk" = 'null' ]]
|
|
||||||
then
|
then
|
||||||
echo "$0:" 'no live games found' >&2
|
echo "$0:" 'no live games found' >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue