Fix typo in comment

This commit is contained in:
Bryan Boreham
2018-08-10 13:11:55 +00:00
parent 1e5cdc4210
commit 7f0334d07b

2
scope
View File

@@ -245,7 +245,7 @@ case "$COMMAND" in
# is not making any attempt to do escaping at all, we might as well try.
# shellcheck disable=SC2039
quoted=$(printf '%q ' "$@" 2>/dev/null || true)
# printf %q behaves oddly with zero args (it acts as though it recieved one empty arg)
# printf %q behaves oddly with zero args (it acts as though it received one empty arg)
# so we ignore that case.
if [ -z "$quoted" ] || [ $# -eq 0 ]; then
quoted="$*"