Permalink
Browse files

Bugfix: exit not return from script. Thanks TecnoBrat.

  • Loading branch information...
1 parent 61077d4 commit bcaefec71b6fd2f1413c4c9e4eba0fc7a1ccb00a @wayneeseguin wayneeseguin committed Feb 24, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/gems
View
@@ -313,7 +313,7 @@ unset GEM_PATH
if [[ -z "$(which gem 2>/dev/null)" ]] ; then
$rvm_scripts_path/log "error" "'gem' was not found, cannot perform gem actions."
- return 1
+ exit 1
fi
action="$(echo $* | awk '{print $1}')"

0 comments on commit bcaefec

Please sign in to comment.