- Timestamp:
- Jan 11, 2012, 11:19:21 PM (15 years ago)
- Location:
- branches/meh_branches/ppsub_test
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ippScripts/scripts/register_imfile.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/meh_branches/ppsub_test
- Property svn:mergeinfo changed
-
branches/meh_branches/ppsub_test/ippScripts/scripts/register_imfile.pl
r31906 r33098 60 60 61 61 my $ipprc = PS::IPP::Config->new() or my_die_for_add( "Unable to set up", $exp_id, $tmp_exp_name, $tmp_class_id, $uri, $PS_EXIT_CONFIG_ERROR ); # IPP configuration 62 $ipprc->redirect_ output($logfile) or my_die_for_add( "Unable to redirect output", $exp_id, $tmp_exp_name, $tmp_class_id, $uri, $PS_EXIT_SYS_ERROR ) if $logfile;62 $ipprc->redirect_to_logfile($logfile) or my_die_for_add( "Unable to redirect output", $exp_id, $tmp_exp_name, $tmp_class_id, $uri, $PS_EXIT_SYS_ERROR ) if $logfile; 63 63 64 64 pod2usage( -msg => "Unknown option: @ARGV", -exitval => 2 ) if @ARGV; … … 404 404 } 405 405 } 406 if ($exp_name =~ /a$/) { 407 return(1); 408 } 406 409 return(0); 407 410 } … … 517 520 518 521 carp($msg); 519 if (defined $exp_id && defined $ tmp_class_id and not $no_update) {522 if (defined $exp_id && defined $class_id and not $no_update) { 520 523 my $command = "$regtool -updateprocessedimfile"; 521 524 $command .= " -exp_id $exp_id"; 522 525 $command .= " -class_id $class_id"; 523 526 $command .= " -fault $exit_code"; 527 $command .= " -set_state pending_burntool "; 524 528 $command .= " -hostname $host" if defined $host; 525 529 $command .= " -dbname $dbname" if defined $dbname;
Note:
See TracChangeset
for help on using the changeset viewer.
