summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-02-18 12:50:26 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-02-18 12:50:26 +0100
commite63528e2b62430a66e481b02a01e06e47e4a749b (patch)
treef82a9ad3ec901ff7901f3f656e74066b2ea93f8e
parent5a1564df62434b8c98dc6e3f5ee5eecc2c69b9d6 (diff)
downloadnixos-e63528e2b62430a66e481b02a01e06e47e4a749b.tar
nixos-e63528e2b62430a66e481b02a01e06e47e4a749b.tar.gz
nixos-e63528e2b62430a66e481b02a01e06e47e4a749b.tar.bz2
nixos-e63528e2b62430a66e481b02a01e06e47e4a749b.tar.xz
nixos-e63528e2b62430a66e481b02a01e06e47e4a749b.zip
vidhar: ...
-rwxr-xr-xhosts/vidhar/borg/copy.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/hosts/vidhar/borg/copy.py b/hosts/vidhar/borg/copy.py
index 694d2696..f3827740 100755
--- a/hosts/vidhar/borg/copy.py
+++ b/hosts/vidhar/borg/copy.py
@@ -187,6 +187,7 @@ def copy_archive(src_repo_path, dst_repo_path, entry):
187 create_args += ['--files-cache=disabled'] 187 create_args += ['--files-cache=disabled']
188 create_args += [f'{dst_repo_path}::{entry["name"]}', '.'] 188 create_args += [f'{dst_repo_path}::{entry["name"]}', '.']
189 189
190 print(*create_args, file=stderr)
190 with subprocess.Popen(create_args, cwd=dir, stdin=subprocess.DEVNULL, stderr=subprocess.PIPE, text=True, env=env, preexec_fn=lambda: as_borg(caps={Cap.DAC_READ_SEARCH})) as proc: 191 with subprocess.Popen(create_args, cwd=dir, stdin=subprocess.DEVNULL, stderr=subprocess.PIPE, text=True, env=env, preexec_fn=lambda: as_borg(caps={Cap.DAC_READ_SEARCH})) as proc:
191 last_list = None 192 last_list = None
192 last_list_time = None 193 last_list_time = None