heidi-ann/ocaml-dns — pull request #1 by dsheets (2013-07-05 23:52:17+00:00)
Title: Exit the program when we've done our job

With this modification, the program exits immediately after printing the status of the resolv.conf file. I used Caml.exit to call the Pervasives `exit` function because Async shadows exit to produce an Ivar which I don't really understand, yet.

When the program exits, the stdout channel is flushed to the console and everything terminates.