Skip to content

Commit

Permalink
restic: fixed handling of arguments with spaces in restic wrappers
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-epifanov committed Dec 20, 2024
1 parent 6f0f5f4 commit a21e4fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/backup/restic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ in
]}
PATH=${config.systemd.services."restic-backups-${name}".environment.PATH}:$PATH
exec ${resticCmd} $@
exec ${resticCmd} "$@"
'') (lib.filterAttrs (_: v: v.createWrapper) config.services.restic.backups);
};
}

0 comments on commit a21e4fa

Please sign in to comment.