At 13:55 29.05.2002 +0200, Sergei Haller wrote: >just an idea: >the "echo $?" may depend on the used shell. Which shell is >used in the first line of the script? which shell do you use >interactively? Both times /bin/bash. ... I kinda hoped that this would have been it. Petty... Thanks anyway :-) Bernd