Skip to content
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

systemctl scripts should exit with an error regardless of how they have been started #73

Closed
giuliomoro opened this issue Apr 6, 2018 · 2 comments

Comments

@giuliomoro
Copy link
Contributor

they are started with /bin/bash /path/to/script, therefore the -e in the #!/bin/bash -e shebang is ignored. We could add -e to all the invocations, or (safer?) add set -e in each script. See e.g.: d3c527c

@giuliomoro
Copy link
Contributor Author

and remember #72

@giuliomoro
Copy link
Contributor Author

I think only bela_flash_emmc.sh deserves -e. So this was closed in 8a6815d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant