On Monday 13 February 2006 09:11, Stuart Brorson wrote: > I will check in his fix, but first I thought I would ask the gurus: > Why does this test return an exit code of 2 (and not 0)? What does > a return code of 2 mean in this context anyway? Any ideas? > Will his fix break anything?
'man ls' on my system says: Exit status is 0 if OK, 1 if minor problems, 2 if serious trouble. It is left to the reader to discover what are 'minor problems' and 'serious trouble' for ls. Regards, Daniel