If no file is present, prints a message about nothing to do.

This commit is contained in:
Andrea Mazzoleni 2012-06-30 17:29:16 +02:00
parent 7c2b48fbb4
commit 7ee0c0f5ef
2 changed files with 3 additions and 3 deletions

2
sync.c
View file

@ -410,6 +410,8 @@ int state_sync(struct snapraid_state* state, block_off_t blockstart, block_off_t
++unrecoverable_error;
/* continue, as we are already exiting */
}
} else {
printf("Nothing to do\n");
}
ret = parity_sync(parity_ptr);