mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-05 14:20:05 -05:00
Adds the implementation of the new test-nano command.
This commit is contained in:
parent
de86307a27
commit
adc4f196fa
6 changed files with 185 additions and 57 deletions
|
|
@ -1343,11 +1343,12 @@ close_and_continue:
|
|||
}
|
||||
|
||||
/* set the original modification time */
|
||||
ret = file_utime(file, f);
|
||||
ret = fmtime(f, file->mtime_sec, file->mtime_nsec);
|
||||
if (ret != 0) {
|
||||
/* LCOV_EXCL_START */
|
||||
close(f);
|
||||
|
||||
fprintf(stderr, "Error timing file '%s'. %s.\n", file->sub, strerror(errno));
|
||||
fprintf(stderr, "WARNING! Without a working data disk, it isn't possible to fix errors on it.\n");
|
||||
printf("Stopping\n");
|
||||
++unrecoverable_error;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue