]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/dircmd.c
Implement first cut DCR in SD
[bacula/bacula] / bacula / src / stored / dircmd.c
index f0b891e95b2360762e537ea1e2f90ed6ba62636b..bd309d569403ae305fde2eef343b0499f5e3ac2b 100644 (file)
@@ -462,6 +462,9 @@ static bool find_device(JCR *jcr, char *dname)
         break;
       }
    }
+   if (found) {
+      jcr->dcr = new_dcr(jcr, device->dev);
+   }
    UnlockRes();
    return found;
 }