-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use set -e
#16
Comments
I'm terrible at scripting, what does that do? |
Exit on the first error :)
…On Mon, Jan 8, 2018 at 5:41 PM, Andrea Vezzosi ***@***.***> wrote:
I'm terrible at scripting, what does that do?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#16 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEVklReM5wcJR_SRDA0K57kitAvfTP6yks5tIkVOgaJpZM4RWl7u>
.
--
Regards
*Frederik Hanghøj Iversen*
|
It also has the benefit of propagating the exit code rather than masking it
with 1.
On Mon, Jan 8, 2018 at 5:42 PM, Frederik Hanghøj Iversen <[email protected]
… wrote:
Exit on the first error :)
On Mon, Jan 8, 2018 at 5:41 PM, Andrea Vezzosi ***@***.***>
wrote:
> I'm terrible at scripting, what does that do?
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#16 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AEVklReM5wcJR_SRDA0K57kitAvfTP6yks5tIkVOgaJpZM4RWl7u>
> .
>
--
Regards
*Frederik Hanghøj Iversen*
--
Regards
*Frederik Hanghøj Iversen*
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I believe you can use
set -e
rather rather than|| exit 1
cubical-demo/test.sh
Line 1 in f9f793c
The text was updated successfully, but these errors were encountered: