thanks for the help
I'll pipe the command to a log and grep for errors.
In reply to Re^2: Capture error from one-liner by dirtdog in thread Capture error from one-liner by dirtdog