Skip to content

Commit

Permalink
its too good to resist
Browse files Browse the repository at this point in the history
  • Loading branch information
cgsdev0 committed Aug 22, 2023
1 parent 03cffa0 commit 5d4812f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -413,12 +413,12 @@ writeHttpResponse() {
fi
SUB_FD=$(subscribe "$TOPIC")
output() {
killthecat() {
curiosity() {
kill "$CAT_PID" &> /dev/null
wait "$CAT_PID" &> /dev/null
exit 0
}
trap 'killthecat' TERM
trap 'curiosity' TERM
while true; do
cat "$SUB_FD" &
CAT_PID=$!
Expand Down

0 comments on commit 5d4812f

Please sign in to comment.