]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/plugins/fd/bpipe-fd.c
kes Implement build and install of bpipe-fd.so plugin.
[bacula/bacula] / bacula / src / plugins / fd / bpipe-fd.c
index fa2488a6ada153445dbc92f38ecf3966013da501..35e891314c78d49d3cc35f2715bac7f46347b8a8 100644 (file)
@@ -279,6 +279,7 @@ static bRC startBackupFile(bpContext *ctx, struct save_pkt *sp)
    struct plugin_ctx *p_ctx = (struct plugin_ctx *)ctx->pContext;
    time_t now = time(NULL);
    sp->fname = p_ctx->fname;
+   sp->type = FT_REG;
    sp->statp.st_mode = 0700 | S_IFREG;
    sp->statp.st_ctime = now;
    sp->statp.st_mtime = now;