Changeset 38198
- Timestamp:
- Apr 27, 2015, 2:06:39 PM (11 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
r38186 r38198 183 183 } 184 184 if ($#{ $ssh_exec_stdout } != -1) { # Parse the output 185 $job_id = ${ $ssh_exec_stdout }[0]; 186 chomp($job_id); 185 my $line = ${ $ssh_exec_stdout }[0]; 186 chomp($line); 187 my @line_split = split /\s+/, $line; 188 $job_id = $line_split[-1]; 187 189 $job_id =~ s/\s+//g; 188 190 } 189 191 190 192 unless(defined($job_id)) { # If we don't have a job_id from this command, it didn't run correctly. 191 &my_die("No job_id returned. Sorry.", $remote_id, $PS_EXIT_PROG_ERROR );193 &my_die("No job_id returned. Sorry.", $remote_id, $PS_EXIT_PROG_ERROR, "exec_fail"); 192 194 } 193 195
Note:
See TracChangeset
for help on using the changeset viewer.
