summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--custom/borgbackup.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/borgbackup.nix b/custom/borgbackup.nix
index b0085bcd..b2969907 100644
--- a/custom/borgbackup.nix
+++ b/custom/borgbackup.nix
@@ -86,7 +86,7 @@ in {
86 --patterns-from .backup \ 86 --patterns-from .backup \
87 --one-file-system \ 87 --one-file-system \
88 --compression auto,lzma \ 88 --compression auto,lzma \
89 ${target}::${cfg.prefix}$1-{utcnow} 89 ${tCfg.repo}::${cfg.prefix}$1-{utcnow}
90 ''; 90 '';
91 in if tCfg.lock == null then borgCmd else "flock -xo /var/lock/${tCfg.lock} ${borgCmd}"; 91 in if tCfg.lock == null then borgCmd else "flock -xo /var/lock/${tCfg.lock} ${borgCmd}";
92 scriptArgs = "%i"; 92 scriptArgs = "%i";