summaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix')
-rw-r--r--nix/module.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nix/module.nix b/nix/module.nix
index 1dc8437..7d47e1a 100644
--- a/nix/module.nix
+++ b/nix/module.nix
@@ -33,8 +33,8 @@ let
33 33
34 script = let 34 script = let
35 args = [ dCfg.path dCfg.maxSize "monitor" ] 35 args = [ dCfg.path dCfg.maxSize "monitor" ]
36 + optionals (dCfg.monitorTimeout != null) ["-t" dCfg.monitorTimeout] 36 ++ optionals (dCfg.monitorTimeout != null) ["-t" dCfg.monitorTimeout]
37 + optionals (dCfg.minSleep != null) ["-s" dCfg.minSleep]; 37 ++ optionals (dCfg.minSleep != null) ["-s" dCfg.minSleep];
38 in '' 38 in ''
39 exec -- rolling-directory ${escapeShellArgs args} 39 exec -- rolling-directory ${escapeShellArgs args}
40 ''; 40 '';