From 065f2897c4028cf9389e83150a912696362cacfd Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 9 Apr 2018 16:57:25 +0200 Subject: escape in prune --- custom/borgbackup.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'custom/borgbackup.nix') diff --git a/custom/borgbackup.nix b/custom/borgbackup.nix index 2cd42e68..d46c323c 100644 --- a/custom/borgbackup.nix +++ b/custom/borgbackup.nix @@ -170,7 +170,7 @@ in { --lock-wait ${toString tCfg.lockWait} \ --list \ --stats \ - --prefix "${cfg.prefix}${escapeSystemdPath path}" \ + --prefix ${escapeShellArg "${cfg.prefix}${escapeSystemdPath path}"} \ ${escapeShellArgs args} \ ${tCfg.repo} '') tCfg.prune); -- cgit v1.2.3