logo       

runghc exit status: msg#00044

lang.haskell.glasgow.bugs

Subject: runghc exit status

It looks like runghc is exiting with status 0 if there is a problem.
Shouldn't this be non-zero?

$ runghc -V
The Glorious Glasgow Haskell Compilation System, version 6.4
$ runghc /dev/null; echo $?
Could not find module `/dev/null':
use -v to see a list of the files searched for
(one of the roots of the dependency analysis)

<interactive>:1:76:
Failed to load interface for `Main':
Could not find module `Main':
it is not a module in the current program, or in any known package.
0

-- Frederik

--
http://ofb.net/~frederik/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise