mirror of
https://github.com/docker/cli.git
synced 2026-01-18 08:21:31 +03:00
Fix shellcheck on master
Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: 14d2c95d4a
Component: cli
This commit is contained in:
@@ -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
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user