<p>This PR adds <code>set -e</code> to the script to install the correct Java environment.</p>
<p>Without this, when the call to the system package manager (to install <code>curl</code>) fails for whatever reason, the installation process blindly continues. It probably will just fail at each further step but this could also have unintended effects. The correct behavior is to abort the script when the first error occurs.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/bisq-network/bisq/pull/4861'>https://github.com/bisq-network/bisq/pull/4861</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>install_java.sh: halt on errors</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4861/files#diff-c02a83565a287217427f6ce14989ac4869ce963ecfee33a470027fed357e6391">scripts/install_java.sh</a>
    (4)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/bisq-network/bisq/pull/4861.patch'>https://github.com/bisq-network/bisq/pull/4861.patch</a></li>
  <li><a href='https://github.com/bisq-network/bisq/pull/4861.diff'>https://github.com/bisq-network/bisq/pull/4861.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/pull/4861">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNUYVEOSC2Y26XQBKOTSR4JYTANCNFSM4UEMFN5Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNUCFHJT4VB3KHAUKWLSR4JYTA5CNFSM4UEMFN52YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4LGR2VAQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/pull/4861",
"url": "https://github.com/bisq-network/bisq/pull/4861",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>