-
Simon Marlow authored
Add some I/O error checking so that an error when writing the output file will correctly result in a non-zero exit code. Currently, if you try to compile a literate Haskell file and /tmp is full, unlit will write an empty file and exit successfully, leading to confusing behaviour.
ea7a05cd