IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 38644 for trunk


Ignore:
Timestamp:
Jul 27, 2015, 3:50:54 PM (11 years ago)
Author:
bills
Message:

fix skycal update faulting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/skycalibration.pl

    r38567 r38644  
    358358    warn($msg);
    359359    if (defined $skycal_id and not $no_update) {
    360         my $command = "$staticskytool -skycal_id $skycal_id -fault $exit_code";
     360        my $command = "$staticskytool -skycal_id $skycal_id";
    361361        if ($updateMode) {
    362             $command .= ' -updateskycalresult';
     362            $command .= " -updateskycal -set_fault $exit_code";
    363363        } else {
    364             $command .= " -addskycalresult";
     364            $command .= " -addskycalresult -fault $exit_code";
    365365            $command .= (" -dtime_script " . ((DateTime->now->mjd - $mjd_start) * 86400));
    366366            $command .= " -hostname $host" if defined $host;
Note: See TracChangeset for help on using the changeset viewer.