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


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?

Steve Emmerson
LDM developer

  • 2011 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the ldm-users archives: