Skip to content

Commit

Permalink
exit as soon as command fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Roy committed Mar 6, 2017
1 parent 7df4e7f commit 7ab7934
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@
"thread_view": {
"open_html_part_external": "true",
"open_external_link": "xdg-open",
"default_save_directory": "~",
"indent_messages": "false",
"code_prettify": {
"enable": "false",
Expand All @@ -94,6 +93,7 @@
"enable": "true"
},
"mark_unread_delay": "0.5",
"default_save_directory": "~",
"mathjax": {
"enable": "false",
"uri_prefix": "https:\/\/cdn.mathjax.org\/mathjax\/latest\/",
Expand Down
3 changes: 3 additions & 0 deletions poll.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

# poll script for astroid

# Exit as soon as one of the commands fail.
set -e

#mbsync -a || exit $?
offlineimap -o -a ampoliros || exit $?

Expand Down

0 comments on commit 7ab7934

Please sign in to comment.