Fail sync if snapshot setup fails on a supported filesystem

This commit is contained in:
Andrea Mazzoleni 2026-08-12 15:03:15 +02:00
parent b71996984f
commit b425ff3a4f
3 changed files with 9 additions and 4 deletions

View file

@ -437,7 +437,7 @@ int fssnapshot_mount(const char* dir, struct fssnapshot_struct* fss)
if (wcscmp(fs_name, L"NTFS") == 0)
magic = WINDOWS_NTFS_MAGIC;
else
return -1; /* support only NTFS */
return 1; /* support only NTFS */
/*
* Obtain the canonical volume name: \\?\Volume{GUID}\