Changeset 37145
- Timestamp:
- Jul 30, 2014, 2:19:58 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/sc_remote_exec.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/sc_remote_exec.pl
r37143 r37145 255 255 if ($poll_word eq 'Completed') { 256 256 my $iter = 0; 257 my $transfer_success = 1; 257 258 do { 259 $transfer_success = 1; 258 260 check_ssh_connection(); 259 261 my $return_push_output = ssh_exec_command("${remote_root}/sc_transfer_tool.pl --input $remote_return --offset $offset"); 260 262 my $return_push_output_print = join "\n", @{ $return_push_output }; 263 if ($return_push_output_print =~ /exited with value 255/) { $transfer_success = 0; } 261 264 print "$return_push_output_print\n"; 262 } while ( $iter < 10); # Try harder;265 } while (($transfer_success != 1) && ($iter < 10)); # Try harder; 263 266 } 264 267 else {
Note:
See TracChangeset
for help on using the changeset viewer.
