        /* Run only one at a time */
        P(vss_mutex);
     }
-@@ -1395,7 +1408,7 @@
+@@ -1395,7 +1403,7 @@
  
  #if defined(WIN32_VSS)
     /* START VSS ON WIN 32 */

       if (g_pVSSClient->CloseBackup()) {             
          /* inform user about writer states */
          for (int i=0; i<(int)g_pVSSClient->GetWriterCount(); i++) {
@@ -1504,12 +1517,8 @@
    }
 #endif
 

-      jcr->pki_encrypt);
-   Dmsg1(110, "End FD msg: %s\n", dir->msg);
 
-   /* Inform Director that we are done */
-   bnet_sig(dir, BNET_TERMINATE);
-
    Dmsg0(130, "Done in job.c\n");
    return 0;                          /* return and terminate command loop */
 }
Index: src/jcr.h
===================================================================
--- src/jcr.h	(rvision 5856)
+++ src/jcr.h	(copie de travail)
@@ -301,6 +301,7 @@
    int32_t pki_session_encoded_size;  /* Size of DER-encoded pki_session */
    POOLMEM *crypto_buf;               /* Encryption/Decryption buffer */
    DIRRES* director;                  /* Director resource */
