meta data for this page
Differences
This shows you the differences between two versions of the page.
| linux:bash:error_handling [2020/06/16 11:58] – created niziak | linux:bash:error_handling [2020/06/16 11:59] (current) – niziak | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| set -o pipefail | set -o pipefail | ||
| echo " | echo " | ||
| - | do_command1 && banner OK || banner ERROR | + | do_command1 |
| - | do_command2 && banner OK || banner ERROR | + | do_command2 |
| build_cmd_step_1 | build_cmd_step_1 | ||
| build_cmd_step_2 | build_cmd_step_2 | ||
| Line 18: | Line 18: | ||
| )} | )} | ||
| - | task() | + | task param1 param2 |
| </ | </ | ||