Use set -e instead of argument
This is better idea as having #!/bin/bash -e is fragile. Anyone can run this script with bash -x file and that way unintentionally disable -e flag.
Please register or sign in to comment
Self sign-up has been disabled due to increased spam activity. If you want to get access, please send an email to a project owner (preferred) or at gitlab(at)nic(dot)cz. We apologize for the inconvenience.
This is better idea as having #!/bin/bash -e is fragile. Anyone can run this script with bash -x file and that way unintentionally disable -e flag.