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