mirror of
https://github.com/containers/fuse-overlayfs.git
synced 2025-08-03 09:55:57 -04:00
Fix printed extended attribute name
Signed-off-by: Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>
This commit is contained in:
parent
9610adf7ab
commit
e16818c042
@ -23,7 +23,7 @@ def fix_path(path):
|
||||
os.setxattr(path, xattr_name, str.encode(content), flags=os.XATTR_CREATE, follow_symlinks=False)
|
||||
except Exception as e:
|
||||
if e.errno == errno.EEXIST:
|
||||
print("attr %s already present for %s: %s" % (XATTR_OVERRIDE_STAT, path, e.errno))
|
||||
print("attr %s already present for %s: %s" % (xattr_name, path, e.errno))
|
||||
return
|
||||
raise e
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user