diff --git a/examples/mitogen-fuse.py b/examples/mitogen-fuse.py index d0cd9a3a..c1b17032 100644 --- a/examples/mitogen-fuse.py +++ b/examples/mitogen-fuse.py @@ -241,9 +241,13 @@ def main(router): print('usage: %s ' % 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 )