add error message
This commit is contained in:
parent
44db3a28dc
commit
a2e63c39c6
|
@ -32,6 +32,7 @@ fi
|
|||
gamePk=$(mlblivepk.sh -t $team)
|
||||
if [[ -z $gamePk || "$gamePk" = 'null' ]]
|
||||
then
|
||||
echo "$0:" 'no live games found' >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
|
@ -32,6 +32,7 @@ fi
|
|||
gamePk=$(mlblivepk.sh -t $team)
|
||||
if [[ -z $gamePk || "$gamePk" = 'null' ]]
|
||||
then
|
||||
echo "$0:" 'no live games found' >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue