diff --git a/zsnaplib/__init__.py b/zsnaplib/__init__.py index 566e001..3cc9aa6 100644 --- a/zsnaplib/__init__.py +++ b/zsnaplib/__init__.py @@ -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