Use the termux_error_exit shell function
[termux-packages] / packages / sed /
drwxr-xr-x   ..
-rw-r--r-- 504 build.sh