[
https://issues.apache.org/jira/browse/SUBMARINE-553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ryan Lo updated SUBMARINE-553:
------------------------------
Description:
The command "set -e" is not recommended in shell scripts.
It would be better to be replaced with "set -euo pipefail"
reference :
[https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail|https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/]
was:
The command "set -e" is not recommended in shell scripts.
It would be better to be replaced with "set -euo pipefail"
> Modify "set -e" command in some shell scripts
> ----------------------------------------------
>
> Key: SUBMARINE-553
> URL: https://issues.apache.org/jira/browse/SUBMARINE-553
> Project: Apache Submarine
> Issue Type: Bug
> Reporter: Ryan Lo
> Assignee: Ryan Lo
> Priority: Major
> Labels: pull-request-available
>
> The command "set -e" is not recommended in shell scripts.
> It would be better to be replaced with "set -euo pipefail"
> reference :
> [https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail|https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]