set

 

  1. -u -o nounset      Treat unset variables as an error when substitutin

     

     

  2. -e -o errexit         Exit immediately if a command exits with a non-zero status

posted @ 2023-01-09 00:52  ascertain  阅读(25)  评论(0)    收藏  举报