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

When running CQLSH with STDIN input, exit with error status code if script fails

    XMLWordPrintableJSON

    Details

      Description

      Assuming CASSANDRA-6344 is in place for years and considering that scripts submitted with the `-e` option behave in a similar fashion, it is very surprising that scripts submitted to STDIN (i.e. piped in) always exit with a zero code, regardless of errors. I believe this should be fixed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                plastikat Jacob Becker
                Reporter:
                plastikat Jacob Becker
                Authors:
                Jacob Becker
                Reviewers:
                Dinesh Joshi, Jordan West
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h