[stream-refactor] make mitogen-fuse work on Linux

This commit is contained in:
David Wilson 2019-07-28 11:22:34 +01:00
parent fc57c1d1a0
commit 6a106f03ff
1 changed files with 6 additions and 2 deletions

View File

@ -241,9 +241,13 @@ def main(router):
print('usage: %s <host> <mountpoint>' % sys.argv[0])
sys.exit(1)
blerp = fuse.FUSE(
kwargs = {}
if sys.platform == 'darwin':
kwargs['volname'] = '%s (Mitogen)' % (sys.argv[1],)
f = fuse.FUSE(
operations=Operations(sys.argv[1]),
mountpoint=sys.argv[2],
foreground=True,
volname='%s (Mitogen)' % (sys.argv[1],),
**kwargs
)