IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 31853


Ignore:
Timestamp:
Jul 10, 2011, 2:05:12 PM (15 years ago)
Author:
eugene
Message:

return TRUE for ipptool2book even in error situations (the book is correctly not updated, and this allows scripts to continue after a problem with the input queue)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pantasks/ipptool2book.c

    r18080 r31853  
    6969    gprint (GP_ERR, "USAGE: ipptool2book (queue) (book) [-uniq] [-key key[:key..]]\n");
    7070    FREEKEYS;
    71     return (FALSE);
     71    return (TRUE);
    7272  }
    7373
     
    7676    gprint (GP_ERR, "queue %s not found\n", argv[1]);
    7777    FREEKEYS;
    78     return (FALSE);
     78    return (TRUE);
    7979  }
    8080   
     
    108108    free (line);
    109109    FREEKEYS;
    110     return FALSE;
     110    return (TRUE);
    111111  }
    112112  free (line);
     
    120120        gprint (GP_ERR, "ERROR: unterminated metadata\n");
    121121        FREEKEYS;
    122         return (FALSE);
     122        return (TRUE);
    123123      }
    124124      FREEKEYS;
     
    145145        free (bookName);
    146146        FREEKEYS;
    147         return (FALSE);
     147        return (TRUE);
    148148      }
    149149      free (tmpword);
     
    155155        free (bookName);
    156156        FREEKEYS;
    157         return FALSE;
     157        return TRUE;
    158158      }
    159159      onPage = TRUE;
     
    179179            gprint (GP_ERR, "ERROR: missing key %s for ID\n", keys[i]);
    180180            FREEKEYS;
    181             return (FALSE);
     181            return (TRUE);
    182182          }
    183183          if (i > 0) strcat (pagename, ":");
     
    221221      free (bookName);
    222222      FREEKEYS;
    223       return (FALSE);
     223      return (TRUE);
    224224    }
    225225    BookSetWord (page, tmpword, tmpvalue);
     
    229229  }   
    230230  FREEKEYS;
    231   return (FALSE);
     231  return (TRUE);
    232232}
    233233
Note: See TracChangeset for help on using the changeset viewer.