Thomas 4 giorni fa
parent
commit
4848af2a3a
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      src/commands/mod.rs

+ 2 - 2
src/commands/mod.rs

@@ -840,9 +840,9 @@ pub fn split_output(full_output: &str) -> (String, Option<SlurmEpilog>) {
     if let Some(epilog_start) = full_output.find("----------------------------------------------") {
         // Check if this is actually the epilog header
         if full_output[epilog_start..].contains("SLURM EPILOG") {
-            let job_output = full_output[..epilog_start].trim_end().to_string();
+            // let job_output = full_output[..epilog_start].trim_end().to_string();
             let epilog = SlurmEpilog::parse(full_output);
-            return (job_output, epilog);
+            return (full_output.to_string(), epilog);
         }
     }