Skip to content

Commit

Permalink
Passing exit code from PAGER properly, removing unnecessary call to exit
Browse files Browse the repository at this point in the history
  • Loading branch information
bahamas10 committed May 25, 2012
1 parent 08c85cd commit df278fa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/mad
Expand Up @@ -99,7 +99,7 @@ display_file() {
s|<(.+?)>||g; \
s|^| |;" \
| "$PAGER" -R
exit
exit $?
}

#
Expand All @@ -108,7 +108,6 @@ display_file() {

display_mad_usage() {
display_file "${0%/*}/../share/mad/mad.md"
exit
}

#
Expand Down

0 comments on commit df278fa

Please sign in to comment.