Prevent escaping the rclone
mount path
This commit is contained in:
parent
aec08e97c8
commit
7faca7cbbf
1 changed files with 2 additions and 2 deletions
|
@ -377,9 +377,9 @@ in {
|
|||
(lib.generators.toINI { } { ${name} = sync.config; });
|
||||
script = pkgs.writeShellScriptBin serviceName ''
|
||||
${sync.secretsScript}
|
||||
mkdir -p ${lib.escapeShellArg sync.path}
|
||||
mkdir -p ${sync.path}
|
||||
mkdir -p /tmp/rclone
|
||||
${lib.getExe pkgs.rclone} mount --config ${configFile} ${name}: ${lib.escapeShellArg sync.path}
|
||||
${lib.getExe pkgs.rclone} mount --config ${configFile} ${name}: ${sync.path}
|
||||
'';
|
||||
in
|
||||
(lib.getExe script);
|
||||
|
|
Loading…
Reference in a new issue