Added a break, so that an error message is only given once
This commit is contained in:
parent
af3e759da2
commit
3ce2cee0a5
1 changed files with 3 additions and 1 deletions
|
@ -430,8 +430,10 @@ char *mess;
|
|||
x = even(x);
|
||||
}
|
||||
else status.st_size -= x;
|
||||
if (read(src_fd, io_buffer, read_chars) != read_chars)
|
||||
if (read(src_fd, io_buffer, read_chars) != read_chars) {
|
||||
error(FALSE,"%s seems to shrink\n", name);
|
||||
break;
|
||||
}
|
||||
mwrite(fd, io_buffer, x);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue