diff --git a/content.sh b/content.sh index ee12b70..8fa2433 100755 --- a/content.sh +++ b/content.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -e + while getopts 't:' opt do case $opt in diff --git a/livepk.sh b/livepk.sh index a69e07c..ca34f43 100755 --- a/livepk.sh +++ b/livepk.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -e + while getopts 't:' opt do case $opt in diff --git a/postplays.sh b/postplays.sh index d67910c..9f9bcc2 100755 --- a/postplays.sh +++ b/postplays.sh @@ -1,3 +1,5 @@ #!/bin/bash +set -e + sqlite3 $DB < postplays.sql | awk -F  '{printf "%s\n\n%s %s\n#%s %s\n#%s %s\n\n#baseball #live\n", $1, $2, $3, $4, $5, $6, $7}' diff --git a/subscribe.sh b/subscribe.sh index 79a759c..9f8cf43 100755 --- a/subscribe.sh +++ b/subscribe.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -e + while getopts 't:' opt do case $opt in