diff options
author | P. J. McDermott <pj@pehjota.net> | 2017-07-22 15:29:09 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2017-07-22 15:29:09 (EDT) |
commit | 6ecdcfb760811b5f1d7262b224768688e54e4b2c (patch) | |
tree | ac4f4f1fa34daaa42a6b125be4cb0dcb79e7d284 /src | |
parent | 57f67e1dc1b1c8ec7e251138ab1d355b7b9f3bd1 (diff) |
is_cmd(): Update printf call
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -96,7 +96,7 @@ is_cmd() { local cmd="${1}" - [ "x$(printf '%s' "${cmds}" | grep "^${cmd}$")" = "x${cmd}" ] + [ "x$(printf '%s\n' ${cmds} | grep "^${cmd}$")" = "x${cmd}" ] } run_cmd() |