diff options
-rw-r--r-- | src/cmd.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -99,7 +99,7 @@ is_cmd() { local cmd="${1}" - [ "x$(printf '%s\n' ${cmds} | grep "^${cmd}$")" = "x${cmd}" ] + case "${cmds}" in *" ${cmd} "*) return 0;; *) return 1;; esac return ${?} } |