浏览代码

remove accidental change

Emmo Emminghaus 6 年之前
父节点
当前提交
e5c22eac0d
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/borg/platform/posix.pyx

+ 2 - 1
src/borg/platform/posix.pyx

@@ -115,4 +115,5 @@ def posix_acl_use_stored_uid_gid(acl):
 
 
 def getosusername():
 def getosusername():
     """Return the os user name."""
     """Return the os user name."""
-    return uid2user(os.getuid())
+    uid = os.getuid()
+    return uid2user(uid, uid)