From: Stelian P. <ste...@fr...> - 2001-02-16 09:23:59
|
On Thu, Feb 08, 2001 at 11:07:00AM -0800, Kenneth Porter wrote: > The script is run with "set -e" to abort immediately on error. What can > I do to catch the error and run HP's tapealert (to better identify the > failure) before really exiting? Well, maybe use the -F script option in order to run tapealert at the end of the tape. Or use a if statement around the dump call, something like: if dump 0f ... ; then tapealert exit fi tapealert Stelian. -- Stelian Pop <ste...@fr...> |------------- Ingénieur Informatique Libre --------------| | Alcôve - http://www.alcove.com - Tel: +33 1 49 22 68 00 | |----------- Alcôve, l'informatique est libre ------------| |