Re: [ldm-users] changing pqinsert(1)'s exit status for a duplicate product

This would require us to modify a couple of scripts, but wouldn't "break" them per se. It would provide more insight into what is happening. I like it.

gerry

On 11/21/2011 05:40 PM, Steve Emmerson wrote:
Hi,

This email is about the exit-status of the pqinsert(1) utility.

We're thinking about changing the exit-status of the pqinsert(1) utility
when it attempts to insert a data-product that is already in the
product-queue. Currently, pqinsert(1) exits with a status of zero (i.e.,
success) if it tries to insert a single file that's already in the
queue. We're thinking of changing that to the (currently undocumented)
value of 4.

The question is, would this change break any existing scripts? An
example of an affected script would be one that only checked if the exit
status was zero in order to determine success.

Do you know of any such scripts? If so, please tell me. Also, would it
be difficult to adapt such a script to the new exit-status?

Regards,
Steve Emmerson
LDM developer

_______________________________________________
ldm-users mailing list
ldm-users@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/

--
Gerry Creager -- gerry.creager@xxxxxxxx
Texas Mesonet -- AATLT, Texas A&M University
Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.862.3983
Office: 7607 Eastmark Drive, Suite 112, College Station, TX 77840