mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-12-22 03:26:17 +00:00
Revert "added the Uzbek language я исправил потвердите (#3306)"
This reverts commit d3b911d249.
This commit is contained in:
@@ -4856,15 +4856,15 @@ void read_recovery_data(char *recovery_file, char *destination_file)
|
||||
BAD_ERROR("Failed to open recovery file because %s\n",
|
||||
strerror(errno));
|
||||
|
||||
if(stat(destination_file, &buf) == -1)
|
||||
BAD_ERROR("Failed to stat destination file, because %s\n",
|
||||
strerror(errno));
|
||||
|
||||
fd = open(destination_file, O_RDWR);
|
||||
if(fd == -1)
|
||||
BAD_ERROR("Failed to open destination file because %s\n",
|
||||
strerror(errno));
|
||||
|
||||
if(fstat(fd, &buf) == -1)
|
||||
BAD_ERROR("Failed to stat destination file, because %s\n",
|
||||
strerror(errno));
|
||||
|
||||
res = read_bytes(recoverfd, header2, RECOVER_ID_SIZE);
|
||||
if(res == -1)
|
||||
BAD_ERROR("Failed to read recovery file, because %s\n",
|
||||
|
||||
Reference in New Issue
Block a user