[one-users] exec_and_log doesn't propagate exit status

Sander Klous sander at nikhef.nl
Mon Aug 24 07:59:28 PDT 2009


Hi,
I think exec_and_log doesn't propagate the exit status of the command it 
executes. Is that true?
So, if I do:

exec_and_log "ls bla"
echo $?

I would like to see the exit status of `ls bla`.
At the moment, I think it just returns -1 on failure.
Is that right?
Thanks,
Sander



More information about the Users mailing list