Skip to content

Commit

Permalink
Early exit when the bouncer fails to start
Browse files Browse the repository at this point in the history
  • Loading branch information
Francois Marier committed Nov 23, 2015
1 parent 0654c81 commit f180921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion irc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Start my znc-based IRC bouncer before running irssi and prompt to
# kill it afterwards.

znc-on
znc-on || exit 1
irssi
read -p "Terminate the bouncer? [y/N] " -n 1 -r
echo
Expand Down

0 comments on commit f180921

Please sign in to comment.