Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Oct 2003 16:50:26 +0100
From:      Colin Percival <colin.percival@wadham.ox.ac.uk>
To:        hackers@freebsd.org
Subject:   md5(1) exit code
Message-ID:  <5.0.2.1.1.20031012164431.031a4f90@popserver.sfu.ca>

next in thread | raw e-mail | index | archive | help
   Or rather, lack thereof.  I was rather astonished to find that `md5 
/nonexistant` printed an error message but still returned an exit code of 
zero; this is, of course, due to the use of warn() instead of err() in 
response to a receiving a NULL pointer returned from MD5File(3).
   Is there any reason for this behaviour?

Colin Percival



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.0.2.1.1.20031012164431.031a4f90>