and should probably remove the index reference...

This commit is contained in:
brent s. 2020-07-15 12:27:13 -04:00
parent 7df5d78ec1
commit 70b5e91fa3
Signed by: bts
GPG Key ID: 8C004C2F93481F6B
1 changed files with 1 additions and 1 deletions

View File

@ -260,7 +260,7 @@ class Backup(object):
exec_fd, exec_tmp = tempfile.mkstemp(prefix = '_borgextend.',
suffix = '._tmpexc',
text = True,
dir = tmpdir)[1]
dir = tmpdir)
# D'oh. I need to close the FD before messing with it.
os.close(exec_fd)
os.chmod(exec_tmp, mode = 0o0700)