| Summary: | [PATCH] to sh(1) manual page: trapsasync | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Documentation | Reporter: | molter <molter> | ||||
| Component: | Books & Articles | Assignee: | Tom Rhodes <trhodes> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
State Changed From-To: open->analyzed I'm following up. Responsible Changed From-To: freebsd-doc->trhodes Assign this PR to me so its not lost. State Changed From-To: analyzed->closed Committed to both current and stable! Thanks for the submission! |
The sh manual page uses the "asynctraps" keyword, which doesn't exist. The correct keyword is "trapsasync". I just made a grep of "trap" in the sh source code to find out why my shell script didn't work. Fix: Apply patch: How-To-Repeat: Try a shell script with the line set -o asynctraps and then with set -o trapsasync