Skip to content

Commit

Permalink
Exit with error code
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioAntunes committed Jan 4, 2018
1 parent 1fbf1b6 commit d95bbb1
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 d95bbb1

Please sign in to comment.