Skip to content

Commit

Permalink
Merge pull request #53 from FabioAntunes/master
Browse files Browse the repository at this point in the history
Exit with error code
  • Loading branch information
edc committed Jan 7, 2018
2 parents 1fbf1b6 + d95bbb1 commit 395ef03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions functions/bass.fish
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ function bass
echo "Usage: bass [-d] <bash-command>"
else if test "$__script" = '__error'
echo "Bass encountered an error!"
return 1
else
echo -e "$__script" | source -
if set -q __bass_debug
Expand Down

0 comments on commit 395ef03

Please sign in to comment.