trap: refresh page (#23480)

Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com>
This commit is contained in:
Managor
2026-08-03 00:04:09 +03:00
committed by GitHub
parent 612bf9b551
commit e46fb1d928
+3 -3
View File
@@ -13,12 +13,12 @@
- Execute a command when a signal is received:
`trap 'echo "Caught signal {{SIGHUP}}"' {{SIGHUP}}`
`trap 'echo "Caught signal {{SIGHUP}}"' {{[HUP|SIGHUP]}}`
- Remove commands:
`trap - {{SIGHUP}} {{SIGINT}}`
`trap - {{SIGHUP SIGINT ...}}`
- Ignore a signal:
`trap '' {{SIGINT}}`
`trap '' {{[INT|SIGINT]}}`