How to display last command that failed when using bash set -e?

后端 未结 5 1329
花落未央
花落未央 2021-02-04 03:51

I am using set -e to stop execution of a script on first error.

The problem is that this does not tell me what went wrong.

How can update a bash scr

5条回答
提交回复
热议问题