Bug 10407: Resolve warnings from child process
[srvgit] / tools / stage-marc-import.pl
index e7e9954..f353abd 100755 (executable)
@@ -175,6 +175,7 @@ if ($completedJobID) {
     };
     if ($runinbackground) {
         $job->finish($results);
+        exit 0;
     } else {
            $template->param(staged => $num_valid,
                             matched => $num_with_matches,