Fix shellcheck on master

Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: 14d2c95d4a
Component: cli
This commit is contained in:
Daniel Nephin
2017-07-20 12:11:27 -04:00
parent 0d67981907
commit 384f10f42e
@@ -1184,7 +1184,7 @@ _docker_config_create() {
;;
*)
local counter=$(__docker_pos_first_nonflag '--label|-l')
if [ $cword -eq $((counter + 1)) ]; then
if [ "$cword" -eq $((counter + 1)) ]; then
_filedir
fi
;;