Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Aug 2001 19:38:55 -0400
From:      Jonathan Chen <jon@freebsd.org>
To:        hackers@freebsd.org
Subject:   mtree exit code [pr:28424]
Message-ID:  <20010802193855.A17850@vulcans.dynamic.spock.org>

next in thread | raw e-mail | index | archive | help
Been trying to close some PR's, but I'm not so sure about this one.

According to the man page, mtree is supposed to return an exit code of 2 
when "the file hierarchy did not match the specification".  However, mtree 
does not return an exit code of 2 when a file/directory is missing.  
OpenBSD exhibits the same behavior.  My question -- is the man page or the 
program wrong?  Is there some standard (POSIX perhaps?) that specifies how 
mtree should behave?  And if its behavior us indeed changed, would anything 
break?

-Jon

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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