Fix shellcheck on master

Signed-off-by: Daniel Nephin <dnephin@docker.com>
master
Daniel Nephin 2017-07-20 12:11:27 -04:00
parent 60991e943b
commit 14d2c95d4a
1 changed files with 1 additions and 1 deletions

View File

@ -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
;;