summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-18 15:33:19 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-18 15:33:19 +0200
commitf6a149303988c53b65d3e4a27b4715bcb6644ae7 (patch)
treefa3b6e760ef6c7f675b76581e89b860f5e00d0be
parentc79d4243aa1d9580dae970a68aa96ec044d2d52c (diff)
downloadutils-f6a149303988c53b65d3e4a27b4715bcb6644ae7.tar
utils-f6a149303988c53b65d3e4a27b4715bcb6644ae7.tar.gz
utils-f6a149303988c53b65d3e4a27b4715bcb6644ae7.tar.bz2
utils-f6a149303988c53b65d3e4a27b4715bcb6644ae7.tar.xz
utils-f6a149303988c53b65d3e4a27b4715bcb6644ae7.zip
-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 '';