Skip to content

Commit ad50197

Browse files
author
dzsekijo
committed
absolutify the mount path when "fetch_mp" is set
1 parent 4ef9f1b commit ad50197

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

fuse.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
from string import join
2121
import sys
22+
import os
2223
from errno import *
2324
from os import environ
2425
import re
@@ -326,7 +327,7 @@ def print_version(self, file=sys.stderr):
326327
def parse_args(self, args=None, values=None):
327328
o, a = SubbedOptParse.parse_args(self, args, values)
328329
if a and self.fetch_mp:
329-
self.fuse_args.mountpoint = a.pop()
330+
self.fuse_args.mountpoint = os.path.realpath(a.pop())
330331
return o, a
331332

332333
def add_option(self, *opts, **attrs):

0 commit comments

Comments
 (0)