From 89fd970c82b9b858c1f07c956dad92a9e7890535 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 26 Sep 2018 13:54:07 +0200 Subject: fix prune --- custom/borgbackup.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom/borgbackup.nix b/custom/borgbackup.nix index 35eb0ef1..75ff8cde 100644 --- a/custom/borgbackup.nix +++ b/custom/borgbackup.nix @@ -177,7 +177,7 @@ in { --lock-wait ${toString tCfg.lockWait} \ --list \ --stats \ - --prefix ${escapeShellArg "${cfg.prefix}${escapeSystemdPath path}"} \ + --prefix ${escapeShellArg "${cfg.prefix}${if cfg.snapshots == "lvm" then path else escapeSystemdPath path}"} \ ${escapeShellArgs args} \ ${tCfg.repo} '') tCfg.prune); -- cgit v1.2.3