]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Tweak test-verify-fd.c
authorEric Bollengier <eric@baculasystems.com>
Tue, 21 Dec 2021 12:12:24 +0000 (13:12 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:56:57 +0000 (13:56 +0200)
bacula/src/plugins/fd/test-verify-fd.c

index 8ef2fdd403960b6dacd2facefb3b99959b318e73..9619de52f2dee2bd9082779b5beb098f722fa3c4 100644 (file)
@@ -333,7 +333,6 @@ static bRC pluginIO(bpContext *ctx, struct io_pkt *io)
 
    /* Cleanup things during close */
    case IO_CLOSE:
-      io->status = 0;
       if (close_bpipe(self->pfd) == 0) {
          Jmsg(ctx, M_INFO, _("File %s matching pattern\n"), self->fname);
       }
@@ -341,7 +340,6 @@ static bRC pluginIO(bpContext *ctx, struct io_pkt *io)
 
    case IO_SEEK:
       /* Seek not needed for this plugin, we don't use real sparse file */
-      io->status = 0;
       break;
    }
    return bRC_OK;