app-shells/bash: do not leave exit value non-zero in default profile script
authorMike Frysinger <vapier@gentoo.org>
Wed, 2 Dec 2015 18:57:52 +0000 (13:57 -0500)
committerMike Frysinger <vapier@gentoo.org>
Wed, 2 Dec 2015 18:58:52 +0000 (13:58 -0500)
commitab2ee2276aaca117ac4250923102b1ca6311ab42
tree7647c84c7b4ec6b09ff86e72b01078af088030af
parent0a331e6a19380bc9adf5d7a093093741bc12ecf9
app-shells/bash: do not leave exit value non-zero in default profile script

If the .bashrc file does not exist, then the one line check in the profile
script leaves $? set to 1.  Use a full if statement to avoid that.
app-shells/bash/files/dot-bash_profile