set -eのもとで特定のコマンドの終了ステータスを変数に入れるシェルスクリプトのスニペット - Islands in the byte stream
https://gfx.hatenablog.com/entry/2021/12/15/153937
last-modified: 2021-12-15 17:00:15