]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/dird/migrate.c
Fix #4996 about MaxRunTime canceling the job too early
[bacula/bacula] / bacula / src / dird / migrate.c
index 519392114562c1242ab90d61f3d6f5aabfbd5c24..c4738eada91511cf2855934f83b3d45df095a233 100644 (file)
@@ -365,6 +365,8 @@ bool do_migration(JCR *jcr)
    }
    Dmsg0(150, "Storage daemon connection OK\n");
 
+   /* Declare the job started to start the MaxRunTime check */
+   jcr->setJobStarted();
 
    /*    
     * We re-update the job start record so that the start