[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[LDM #UKU-190526]: LDM - PIPE usage in pqact.conf and bash scripts
- Subject: [LDM #UKU-190526]: LDM - PIPE usage in pqact.conf and bash scripts
- Date: Thu, 12 Apr 2007 08:49:32 -0600
Michael,
It's also a good idea to have your script log any errors it
encounters. Because the script runs as a grandchild process
of the LDM daemon, it doesn't have a standard error stream.
Consequently, you have to explicitly work around this lack
by using something like the "logger" utility. For example,
if false; then
logger -p local0.error "The utility 'false' exited with status $?"
fi
The above will log the error to the LDM log file.
Regards,
Steve Emmerson
Ticket Details
===================
Ticket ID: UKU-190526
Department: Support LDM
Priority: Normal
Status: Closed