Skip to content

Commit

Permalink
Fix mssqlvdi plugin to interpret where argument correctly.
Browse files Browse the repository at this point in the history
Fixes #425: Mssqlvdi always restores to file.
  • Loading branch information
Marco van Wieringen committed Feb 17, 2015
1 parent 81840b9 commit c0b2f27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/win32/plugins/filed/mssqlvdi-fd.c
Expand Up @@ -1845,7 +1845,7 @@ static bRC createFile(bpContext *ctx, struct restore_pkt *rp)
return bRC_Error;
}

if (!bstrcasecmp(rp->where, "/")) {
if (strlen(rp->where) > 0) {
p_ctx->RestoreToFile = true;
p_ctx->RestoreFD = -1;
rp->create_status = CF_CORE;
Expand Down

0 comments on commit c0b2f27

Please sign in to comment.