IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 18538


Ignore:
Timestamp:
Jul 15, 2008, 10:00:54 AM (18 years ago)
Author:
bills
Message:

If no data stores are registered, that isn't an error return zero.
Removed -outFileset it's gone now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/scripts/pstamp_queue_requests.pl

    r18247 r18538  
    7575
    7676    if (@$stdout_buf == 0) {
    77         print STDERR "no data stores registered\n";
    78         exit 1;
     77        print STDERR "no data stores registered\n" if $verbose;
     78        exit 0;
    7979    }
    8080    my $metadata = $mdcParser->parse(join "", @$stdout_buf) or
     
    161161            next if $req_uri =~ (/^#.*/);
    162162            {
    163                 my $command = "$pstamptool -addreq -uri $req_uri -ds_id $ds_id -out_fileset $outProduct/$fs_name";
     163                my $command = "$pstamptool -addreq -uri $req_uri -ds_id $ds_id";
    164164                $command .= " -dbname $dbname" if $dbname;
    165165                my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
Note: See TracChangeset for help on using the changeset viewer.