diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-10-11 14:33:37 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-10-11 14:33:37 +1300 |
commit | c5a85aed3c1e97fd72498e66507e10c7d0d44c95 (patch) | |
tree | 541e1e354479cc25a8cd7b4279e45758150344a0 /bin | |
parent | Silence SC2029 error from shellcheck (diff) | |
download | dotfiles-c5a85aed3c1e97fd72498e66507e10c7d0d44c95.tar.gz dotfiles-c5a85aed3c1e97fd72498e66507e10c7d0d44c95.zip |
Correct a version check in han(1)
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/han | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -24,8 +24,8 @@ self=han # Give up completely if no BASH_VERSINFO (<2.0) -if ! test "$BASH_VERSINFO" ; then - return +if ! [ -n "$BASH_VERSINFO" ] ; then + exit fi # Figure out the options with which we can call help; Bash >=4.0 has an -m |