mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-23 06:31:58 +00:00
Merge pull request #1318 from enkore/issue/1314
xattr: don't log before logging is set up
This commit is contained in:
commit
e28c2d4c36
1 changed files with 0 additions and 2 deletions
|
@ -63,12 +63,10 @@ def get_all(path, follow_symlinks=True):
|
|||
libc_name = LD_PRELOAD
|
||||
XATTR_FAKEROOT = True
|
||||
|
||||
|
||||
try:
|
||||
libc = CDLL(libc_name, use_errno=True)
|
||||
except OSError as e:
|
||||
msg = "Can't find C library [%s]. Try installing ldconfig, gcc/cc or objdump." % e
|
||||
logger.error(msg)
|
||||
raise Exception(msg)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue