Added a break, so that an error message is only given once

This commit is contained in:
ceriel 1987-08-03 18:00:22 +00:00
parent af3e759da2
commit 3ce2cee0a5

View file

@ -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);
}