openDsh / dash

Join us on Slack! https://join.slack.com/t/opendsh/shared_invite/zt-la398uly-a6eMH5ttEQhbtE6asVKx4Q
GNU General Public License v3.0
238 stars 69 forks source link

install.sh - exit with error on failture #42

Closed ZeroErrors closed 3 years ago

ZeroErrors commented 3 years ago

Change Log

Description

Previously the install script would always exit with exit code 0 even when failing to build, this causes problems if you want to use the script from inside of other scripts or in a one-liner such as ./install.sh && pkill dash.

This PR makes the install.sh exit with exit code 1 if it failed to build.