@@ -, +, @@ --- tools/stage-marc-import.pl | 1 + 1 file changed, 1 insertion(+) --- a/tools/stage-marc-import.pl +++ a/tools/stage-marc-import.pl @@ -175,6 +175,7 @@ if ($completedJobID) { }; if ($runinbackground) { $job->finish($results); + exit 0; } else { $template->param(staged => $num_valid, matched => $num_with_matches, --