fix shfmt warnings

This commit is contained in:
neilpang 2016-11-11 22:07:49 +08:00
parent e51bef6d12
commit b97e140389
1 changed files with 2 additions and 2 deletions

View File

@ -249,7 +249,7 @@ _exists() {
fi
if command >/dev/null 2>&1; then
command -v "$cmd" >/dev/null 2>&1
else which >/dev/null 2>&1;
elif which >/dev/null 2>&1;
which "$cmd" >/dev/null 2>&1
fi
ret="$?"