handle filesystem containing spaces

This commit is contained in:
Fredrik Eriksson 2021-08-21 16:31:06 +02:00
parent b0758a6b8b
commit 5588780887
Signed by: feffe
GPG Key ID: F4329687B0FA7F8D

View File

@ -83,7 +83,7 @@ def get_filesystems(zfs_cmd):
for row in out.splitlines():
row = row.decode('UTF-8')
ret.add(row.split()[0])
ret.add(row.split('\t')[0])
return ret