IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26205


Ignore:
Timestamp:
Nov 19, 2009, 11:32:51 PM (16 years ago)
Author:
bills
Message:

need to check for undefined product earlier

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataStoreServer/scripts/dsprodtool

    r25668 r26205  
    6767
    6868# will exit if neither or both -add and -del were specified
    69 $err .= "Must specify either --add or --del.\n"
     69show_usage( "Must specify either --add or --del.")
    7070    unless $add xor $del;
    7171
     
    7979    }
    8080
    81 } else {
     81} elsif ($del) {
    8282    $product = $del;
    8383    if (! -t STDIN) {
Note: See TracChangeset for help on using the changeset viewer.