mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -04:00
Prints if a rehash is needed in status.
This commit is contained in:
parent
0489c98bb0
commit
d387562df4
1 changed files with 5 additions and 1 deletions
6
status.c
6
status.c
|
|
@ -249,7 +249,11 @@ int state_status(struct snapraid_state* state)
|
|||
if (rehash) {
|
||||
printf("You have a rehash in progress at %u%%.\n", (count - rehash) * 100 / count);
|
||||
} else {
|
||||
printf("No rehash is in progress.\n");
|
||||
if (state->besthash != state->hash) {
|
||||
printf("No rehash is in progress, but for optimal performance one is recommended.\n");
|
||||
} else {
|
||||
printf("No rehash is in progress or needed.\n");
|
||||
}
|
||||
}
|
||||
|
||||
if (bad) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue