diff options
author | Jasper Ras <jaspert.ras@gmail.com> | 2025-07-15 20:34:14 +0200 |
---|---|---|
committer | Jasper Ras <jaspert.ras@gmail.com> | 2025-07-15 20:34:14 +0200 |
commit | 62483ddbc85da140b36eee2fa6bc43e7093eb3ad (patch) | |
tree | 33550a06020ec71e2777a6241447a40ba98c10ca /Setting traps.md | |
parent | 04db4c941799bfbfac666160e7b4298716649a7f (diff) | |
parent | a9886bf2f8a35369a2c42070c5f83504dfab2bc5 (diff) |
vault backup: 2025-07-15 20:34:14
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 |