CORE-10140

svn path=/trunk/; revision=69143
This commit is contained in:
Pierre Schweitzer 2015-09-09 07:05:17 +00:00
parent 85de1f5f6a
commit c29c91001c

View file

@ -293,10 +293,13 @@ int main(int oargc, char* oargv[])
if(!fread(buff, 512, 1, fe))
{
printf("Error: unable to read boot sector from file '%s'.", argv[0]);
fclose(fe);
ret = 1;
goto exit;
}
fclose(fe);
NEED_MOUNT();
if(disk_read(0, temp, 0, 1))
@ -326,8 +329,6 @@ int main(int oargc, char* oargv[])
ret = 1;
goto exit;
}
fclose(fe);
}
else if (strcmp(parg, "add") == 0)
{