mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-25 01:16:31 -05:00
Log explicit warning when missing snapshots fall back to live filesystem
This commit is contained in:
parent
7b7a2d5d00
commit
3d23853de7
2 changed files with 15 additions and 2 deletions
|
|
@ -373,6 +373,7 @@ static int windows_rebuild_link(const struct fssnapshot_struct* fss, const char*
|
|||
|
||||
/* if no device path, assume snapshot absent */
|
||||
if (device_path[0] == 0) {
|
||||
log_error(0, "WARNING! Snapshot '%s' DeviceObject lost or removed externally.\n", name);
|
||||
/* remove stale links */
|
||||
windows_rmdir(guid_link);
|
||||
windows_rmdir(link_path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue