Changeset 16379 for trunk/ippScripts/scripts/summit_copy.pl
- Timestamp:
- Feb 8, 2008, 11:28:41 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/summit_copy.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/summit_copy.pl
r16375 r16379 90 90 unless ($success) { 91 91 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); 92 &my_die("Unable to perform dsget: $error_code", $exp_name, $inst, $telescope, $class, $class_id, $ error_code);92 &my_die("Unable to perform dsget: $error_code", $exp_name, $inst, $telescope, $class, $class_id, $uri, $error_code); 93 93 } 94 94 } else { … … 113 113 unless ($success) { 114 114 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); 115 warn("Unable to perform pztool -copydone: $error_code\n");115 warn("Unable to perform $command: $error_code\n"); 116 116 exit($error_code); 117 117 } … … 122 122 sub my_die 123 123 { 124 my $msg = shift; # Warning message on die125 my $exp_name = shift; # Chiptool identifier126 my $inst = shift; # Chiptool identifier124 my $msg = shift; # Warning message on die 125 my $exp_name = shift; # Chiptool identifier 126 my $inst = shift; # Chiptool identifier 127 127 my $telescope = shift; # Class identifier 128 my $class = shift; # Class identifier 129 my $class_id = shift; # Class identifier 128 my $class = shift; # Class identifier 129 my $class_id = shift; # Class identifier 130 my $uri = shift; # Class identifier 130 131 my $exit_code = shift; # Exit code to add 131 132 … … 140 141 $command .= " -class $class"; 141 142 $command .= " -class_id $class_id"; 143 $command .= " -uri $uri"; 142 144 $command .= " -code $exit_code"; 143 145 $command .= " -dbname $dbname" if defined $dbname;
Note:
See TracChangeset
for help on using the changeset viewer.
