diff options
Diffstat (limited to 'Setting traps.md')
-rw-r--r-- | Setting traps.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Setting traps.md b/Setting traps.md index cd36e80..b3bc8f3 100644 --- a/Setting traps.md +++ b/Setting traps.md @@ -1,7 +1,8 @@ --- -tags: - - bash +tags: [] --- +[[Bash]] + With traps you can configure a function that is run upon a specific signal or when the script fails or exits normally. `trap fn ERR` > when an error occurrs |