Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-1225

Errors before the last shell command are ignored

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.6.0
    • Fix Version/s: 0.6.1, 0.7.0
    • Component/s: Interpreters
    • Labels:
      None

      Description

      If run the following command in shell interpreter. It just run normally without any error message.

      hello
      pwd
      

      The root cause is that command "bash -c <shell scripts>" will always return 0 as long as the last line of shell script run correctly.

        Attachments

          Activity

            People

            • Assignee:
              zjffdu Jeff Zhang
              Reporter:
              zjffdu Jeff Zhang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: