IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16974


Ignore:
Timestamp:
Mar 13, 2008, 11:38:09 AM (18 years ago)
Author:
bills
Message:

in list mode if pstampparse fails print the error message to stdout

File:
1 edited

Legend:

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

    r16959 r16974  
    8484    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    8585        run(command => $command, verbose => $verbosity);
    86     unless ($success) {
    87         die("Unable to perform pstampparse: $error_code");
     86
     87    if ($success) {
     88        ### print "Matching Images:\n";
     89        print @$stdout_buf;
     90    } else {
     91        print @$stderr_buf;
    8892    }
    89     ### print "Matching Images:\n";
    90     print @$stdout_buf;
    9193    exit 0;
    9294}
Note: See TracChangeset for help on using the changeset viewer.