Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-5247

cassandra-cli should exit with error-exit status on all errors which cause it to exit.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.2.7
    • Legacy/Tools
    • Low

    Description

      running cassandra-cli with a --file argument which does not exist returns success:
      ubuntu@host:~$ cassandra-cli --file does-not-exist ; echo $?
      does-not-exist (No such file or directory)
      0

      Attachments

        1. CASSANDRA-5247.txt
          48 kB
          Steve Peters

        Activity

          People

            steve_p Steve Peters
            rthille Robert P. Thille
            Steve Peters
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: