sh script problem with capturing return code

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Mon Jan 14 16:17:11 UTC 2013


Fbsd8 <fbsd8 at a1poweruser.com> writes:

> Lowell Gilbert wrote:

>> This fixes the problem that was bothering you, but the interactions of
>> different features are complicated, and many of them are documented in
>> fairly loose language.
>>
> Is that the diplomatic way of saying the manpage for mtree sucks, and
> leaves a great deal to be desired?

Not really; I was looking at the code at the time I wrote that. To be
fair, I'm not sure what I would *expect* for some of the possible
interactions. 

> When it comes to testing your patch sure I would like to. But here
> again I have a problem. For security reasons I can not use source code
> to install or update any operating system. I have no sources on my
> system to compile from. I use the fresh install method from a
> downloaded disc1.iso burned to cdrom.

I was thinking you could extend the shell scripts using your existing
mtree executable.



More information about the freebsd-questions mailing list