Add sets for more safety
This commit is contained in:
parent
addddffddc
commit
06cf55a808
2 changed files with 6 additions and 0 deletions
3
irc-say
3
irc-say
|
@ -3,6 +3,9 @@
|
|||
HOST=127.0.0.1
|
||||
PORT=31337
|
||||
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
echo "Usage: $0 <message>..."
|
||||
exit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue