Yes, if you want to extend the program later to send the output via mail (but only in the case of error), your current approach makes sense.
In reply to Re^3: Feedback on my second script
by Corion
in thread Feedback on my second script
by Jackiejarvis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |