Fixed missing error return in playlog

No error was returned from reading a protected record which is part of
an unreadable raw cluster.
This commit is contained in:
Jean-Pierre André 2015-11-20 16:11:15 +01:00
parent 3c964b6af3
commit aade4c46b6

View File

@ -691,7 +691,8 @@ static int write_protected(ntfs_volume *vol, const struct LOG_RECORD *logr,
err = write_mirr(vol, logr,
full);
free(full);
}
} else
err = 1;
} else {
/* write full clusters */
err = write_raw(vol, logr, buffer);