Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12819

CLI invalid connection string results in zero exit code

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 12.0.2.Final, 12.1.0.Final
    • 12.0.1.Final, 12.1.0.Final
    • CLI
    • None

      ./bin/cli.sh --connect 'http://operator:*******@test-batch-fail:11222'
      

      The above connection string is invalid as the password `@` character has not been escaped, resulting in a IllegalArgumentException being thrown. However, the cli returns with a zero escape code when it should be non-zero to indicate abnormal termination.

              remerson@redhat.com Ryan Emerson
              remerson@redhat.com Ryan Emerson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: