sstephenson/rbenv — Issue #171: rbenv 0.3.0 rehash exits with non-zero status
Author: asymmetric
Created: 2011-12-26 22:04:43+00:00
State: open

Hi, after upgrading to 0.3.0, I noticed that running `rbenv rehash` exits with status `1`.

Apparently, it happens inside the [remove_stale_shims](https://github.com/sstephenson/rbenv/blob/master/libexec/rbenv-rehash#L123) function, where the `[ -z "${!var}" ]` check seems to fail.