fix _exists

This commit is contained in:
neil committed 2016-11-17 13:20:20 +08:00
1 parent 82dc2244c0
commit ce4be4e91e
1 file changed
+1 -1
+1 -1
View File
@@ -252,7 +252,7 @@ _exists() {
eval type "$cmd" >/dev/null 2>&1
elif command >/dev/null 2>&1; then
command -v "$cmd" >/dev/null 2>&1
elif which which >/dev/null 2>&1; then
else
which "$cmd" >/dev/null 2>&1
fi
ret="$?"
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.