Skip to content

Commit

Permalink
fd_plugins.cc: fix restore problems
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz committed Oct 24, 2022
1 parent c44dedf commit 5f4651c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/filed/fd_plugins.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1861,6 +1861,7 @@ static int MyPluginBopen(BareosFilePacket* bfd,
Dmsg1(debuglevel,
"bopen: plugin wants to do read/write itself. status: %d\n",
io.status);
bfd->filedes = 0; // set filedes to 0 as otherwise IsBopen() fails.
return io.status;
}
}
Expand Down

0 comments on commit 5f4651c

Please sign in to comment.