aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui_backend_slurm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui_backend_slurm.c b/src/gui_backend_slurm.c
index 870b4d5c..f51af9e9 100644
--- a/src/gui_backend_slurm.c
+++ b/src/gui_backend_slurm.c
@@ -75,12 +75,12 @@ static int read_number_processed(const char *filename)
sscanf(line, "Final: %i images processed", &n_proc);
} else if ( strstr(line, " images processed, ") != NULL ) {
sscanf(line, "%i ", &n_proc);
- } else {
- STATUS("%s\n", line);
}
} while ( 1 );
+ fclose(fh);
+
return n_proc;
}