Skip to content

Commit

Permalink
Update bash.md
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmeremz authored Jul 19, 2021
1 parent 907312c commit 883be30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/bash.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Some best practices for you to learn and use in your scripts
When a script written in Bash fails to run a certain command it will keep
running and will execute all other commands mentioned after the command which failed.
Most of the time we would actually want the opposite to happen.
In order to make Bash exist when a specific command fails, use 'set -e' in your script.
In order to make Bash exit when a specific command fails, use 'set -e' in your script.

```
#!/usr/bin/env bash
Expand Down

0 comments on commit 883be30

Please sign in to comment.