add error message

This commit is contained in:
filifa 2024-07-30 21:36:11 -05:00
parent 44db3a28dc
commit a2e63c39c6
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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