Log the modification time of the content file in probe and other commmands

This commit is contained in:
Andrea Mazzoleni 2026-04-09 15:15:48 +02:00
parent 323c943afb
commit 4ba6ee874c
5 changed files with 58 additions and 10 deletions

View file

@ -1974,6 +1974,9 @@ int snapraid_main(int argc, char* argv[])
} else if (operation == OPERATION_SMART) {
state_device(&state, DEVICE_SMART, 0);
} else if (operation == OPERATION_PROBE) {
/* probe also the content file */
state_probe(&state);
state_device(&state, DEVICE_PROBE, 0);
} else if (operation == OPERATION_STATUS) {
state_read(&state);