diff options
author | Jasper Ras <jras@hostnet.nl> | 2025-06-27 10:56:03 +0200 |
---|---|---|
committer | Jasper Ras <jras@hostnet.nl> | 2025-06-27 10:56:03 +0200 |
commit | a9886bf2f8a35369a2c42070c5f83504dfab2bc5 (patch) | |
tree | d078b542f271bc2d16d756a3eb5d1ebce65f0043 /Setting traps.md | |
parent | fbb81e5f2c5542d86ffbb0cb8e05ce2640ed65de (diff) |
vault backup: 2025-06-27 10:56:02
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 |