delete old if statement
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user