|  | @@ -289,7 +289,7 @@ function tripal_execute_job($job_id, $redirect = TRUE) {
 | 
	
		
			
				|  |  |    if ($job->end_time == 0) {
 | 
	
		
			
				|  |  |      exec("drush trp-run-jobs --username=".$user->name." --root=".DRUPAL_ROOT."", $output, $return);
 | 
	
		
			
				|  |  |      drupal_set_message(t(implode(" ", $output)));
 | 
	
		
			
				|  |  | -    drupal_set_message(t(implode(" ", $return)));
 | 
	
		
			
				|  |  | +    drupal_set_message($return);
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |    else {
 | 
	
		
			
				|  |  |      drupal_set_message(t("Job %job_id cannot be executed. It is in progress or has finished.", array('%job_id' => $job_id)));
 |