diff --git a/mlbcontent.sh b/mlbcontent.sh index 368e264..f64ebe1 100755 --- a/mlbcontent.sh +++ b/mlbcontent.sh @@ -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 diff --git a/mlbsubscribe.sh b/mlbsubscribe.sh index 9f805ab..9192a4f 100755 --- a/mlbsubscribe.sh +++ b/mlbsubscribe.sh @@ -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