diff options
author | Teddy Wing | 2018-02-21 01:05:41 +0100 |
---|---|---|
committer | Teddy Wing | 2018-02-21 01:05:41 +0100 |
commit | 440bbed06f05a7521966cf49b572498cb1be0cec (patch) | |
tree | 5f1bcdde3e3cfa638f8943b808ea4c3b6cbb5eae | |
parent | 8975f836e8b79cda60cff8969f8c51fc6120b193 (diff) | |
download | git-branch-list-440bbed06f05a7521966cf49b572498cb1be0cec.tar.bz2 |
git-branch-list: Remove `$?` from `exit`
Without an argument, `exit` will, like `return`, use the exit status of
the last command executed. The `$?` is therefore redundant and can be
removed.
-rwxr-xr-x | git-branch-list | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-branch-list b/git-branch-list index fe24d71..1e8593c 100755 --- a/git-branch-list +++ b/git-branch-list @@ -132,7 +132,7 @@ case "$command" in "") list_branches - exit $? + exit ;; *) # If `$1` is an integer |