summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-02-13 01:08:40 -0500
committerLuke Shumaker <lukeshu@lukeshu.com>2017-02-13 01:08:40 -0500
commit05fc5ece05f10b593c378c0b5f1170107dcfe1b6 (patch)
treeafd7d575a485c94bee1784ac250c6e141d94d2ab /src/lib
parente4cfe0d5a5661e20d5b0d4ce79b482b4bf3f2bd5 (diff)
`return $?` can be written simply as `return`
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/blacklist.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/blacklist.sh b/src/lib/blacklist.sh
index 0a3cc39..5654f93 100644
--- a/src/lib/blacklist.sh
+++ b/src/lib/blacklist.sh
@@ -34,7 +34,7 @@ blacklist-cat() {
local file="$XDG_CACHE_HOME/libretools/blacklist.txt"
if ! [[ -e $file ]]; then
# exit on failure, whether set -e or not
- blacklist-update || return $?
+ blacklist-update || return
fi
blacklist-normalize < "$file"
}