Re: true/false vs zero/non zero exit status question.



On Tuesday 7 April 2009 00:34, grocery_stocker wrote:


Okay, maybe I'm being a tad bit dense here, but are you saying that if
I have something like 'while true', then the loop will continue to
execute, regardless if party returns a zero or non zero exit status?

Exactly.

while true; do false; done

will run forever.
.