Index: /tags/ipp-20150329/ippScripts/scripts/sc_remote_exec.pl
===================================================================
--- /tags/ipp-20150329/ippScripts/scripts/sc_remote_exec.pl	(revision 38198)
+++ /tags/ipp-20150329/ippScripts/scripts/sc_remote_exec.pl	(revision 38199)
@@ -184,11 +184,13 @@
 }
 if ($#{ $ssh_exec_stdout } != -1) { # Parse the output
-    $job_id = ${ $ssh_exec_stdout }[0];
-    chomp($job_id);
+    my $line = ${ $ssh_exec_stdout }[0];
+    chomp($line);
+    my @line_split = split /\s+/, $line;
+    $job_id = $line_split[-1];
     $job_id =~ s/\s+//g;
 }
 
 unless(defined($job_id)) { # If we don't have a job_id from this command, it didn't run correctly.
-    &my_die("No job_id returned.  Sorry.", $remote_id, $PS_EXIT_PROG_ERROR);
+    &my_die("No job_id returned.  Sorry.", $remote_id, $PS_EXIT_PROG_ERROR, "exec_fail");
 }
 
