wangxj3 commented on issue #16376: URL: https://github.com/apache/dolphinscheduler/issues/16376#issuecomment-2271128084
> I saw there has an `echo ...` after `mkdir a1`. Maybe you need add `set -e` in your shell script after `#!/bin/bash`. > > ```shell > #!/bin/bash > > set -e > > # something else > ``` > > If you do this, it will return a non-zero exit status when there is something wrong in your shell immediately. So, you can get a right return of your shell script. Perhaps this is not the solution to this issue. According to the log, the resolved status should be 0, but the log prints Remote shell task failed without adding status to the log. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
