Default `sleep infinity` doesn't respond to interrupts
Open
- Dominant language
- Go
- Stars
- 300
- Forks
- 64
- Avg merge
- 20m
- Merged PRs (30d)
- 1
Description
I don't know if it's optimal but I usually do:
```sh
#!/usr/bin/env sh
terminate() {
exit 0
}
trap terminate TERM
sleep infinity &
wait
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.