Skip to content
Browse files

Passing exit code from PAGER properly, removing unnecessary call to exit

  • Loading branch information...
1 parent 08c85cd commit df278fa876339cfbc1e312ce8cd223a38ab1bd04 @bahamas10 committed May 25, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 bin/mad
View
3 bin/mad
@@ -99,7 +99,7 @@ display_file() {
s|<(.+?)>||g; \
s|^| |;" \
| "$PAGER" -R
- exit
+ exit $?
}
#
@@ -108,7 +108,6 @@ display_file() {
display_mad_usage() {
display_file "${0%/*}/../share/mad/mad.md"
- exit
}
#

0 comments on commit df278fa

Please sign in to comment.
Something went wrong with that request. Please try again.