diff --git a/integration-cli/fixtures/auth/docker-credential-shell-test b/integration-cli/fixtures/auth/docker-credential-shell-test index 567ed90bb5..a7be56b2f2 100755 --- a/integration-cli/fixtures/auth/docker-credential-shell-test +++ b/integration-cli/fixtures/auth/docker-credential-shell-test @@ -38,7 +38,7 @@ case $1 in # Remove the server from the list list=$(<$TEMP/$listFile) - echo "$list" | jq "del(.\"${in}\")" > $TEMP/$listFile + echo "$list" | jq "del(.[\"${in}\"])" > $TEMP/$listFile ;; "list") if [[ ! -f $TEMP/$listFile ]]; then