summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-05-26 19:30:09 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-05-26 19:30:09 -0400
commit9db3b4d76209f0d1ca02b9f1dc9f66c102822652 (patch)
tree858c74c24ba1f8bc20a34edc2fd30d030669a5fc /src
parent77bc923a5ae972bd7d212ae90a76180f68176de0 (diff)
libremessages: fix bug with exit value
If invoked directly, the final command executed is `unset`, which ensures an exit status of 0. Because the unset variable is only set when executed directly, it is safe to just remove the unset.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/libremessages1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libremessages b/src/libremessages
index 3910c94..3891658 100755
--- a/src/libremessages
+++ b/src/libremessages
@@ -66,5 +66,4 @@ if [[ "${0##*/}" = libremessages ]]; then
_libremessages_cmd=$1
shift
"$_libremessages_cmd" "$@"
- unset _libremessages_cmd
fi