]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/bpipe.c
Doc + fix automount on files
[bacula/bacula] / bacula / src / lib / bpipe.c
index 7b284c9ce9dce17587c5769a33cf1ec00fc55a8a..975c5f6896f5efbec918dbbc07091f58a9f6c8f7 100644 (file)
@@ -163,7 +163,7 @@ int close_bpipe(BPIPE *bpipe)
         break;
       }
       if (remaining_wait > 0) {
-        sleep(1);                    /* wait one second */
+        bmicrosleep(1, 0);            /* wait one second */
         remaining_wait--;
       } else {
         stat = 1;                    /* set error status */