Changeset 38199
- Timestamp:
- Apr 27, 2015, 2:07:50 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20150329/ippScripts/scripts/sc_remote_exec.pl
- Property svn:mergeinfo changed
/trunk/ippScripts/scripts/sc_remote_exec.pl merged: 38198
r38187 r38199 184 184 } 185 185 if ($#{ $ssh_exec_stdout } != -1) { # Parse the output 186 $job_id = ${ $ssh_exec_stdout }[0]; 187 chomp($job_id); 186 my $line = ${ $ssh_exec_stdout }[0]; 187 chomp($line); 188 my @line_split = split /\s+/, $line; 189 $job_id = $line_split[-1]; 188 190 $job_id =~ s/\s+//g; 189 191 } 190 192 191 193 unless(defined($job_id)) { # If we don't have a job_id from this command, it didn't run correctly. 192 &my_die("No job_id returned. Sorry.", $remote_id, $PS_EXIT_PROG_ERROR );194 &my_die("No job_id returned. Sorry.", $remote_id, $PS_EXIT_PROG_ERROR, "exec_fail"); 193 195 } 194 196 - Property svn:mergeinfo changed
Note:
See TracChangeset
for help on using the changeset viewer.
