mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-03 05:10:16 -05:00
Fix ZFS dataset discovery when mount paths contain spaces
This commit is contained in:
parent
3e71e68848
commit
b80a4f865d
1 changed files with 1 additions and 1 deletions
|
|
@ -897,7 +897,7 @@ static int extract_zfs(const char* dir, char* dataset, size_t dataset_size, char
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/* split the line */
|
/* split the line */
|
||||||
mac = strsplit(map, 3, s, " \t\n");
|
mac = strsplit(map, 3, s, "\t\n");
|
||||||
|
|
||||||
if (mac < 3)
|
if (mac < 3)
|
||||||
continue;
|
continue;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue