From f6a149303988c53b65d3e4a27b4715bcb6644ae7 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 18 Apr 2018 15:33:19 +0200 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nix/module.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nix/module.nix') 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 script = let args = [ dCfg.path dCfg.maxSize "monitor" ] - + optionals (dCfg.monitorTimeout != null) ["-t" dCfg.monitorTimeout] - + optionals (dCfg.minSleep != null) ["-s" dCfg.minSleep]; + ++ optionals (dCfg.monitorTimeout != null) ["-t" dCfg.monitorTimeout] + ++ optionals (dCfg.minSleep != null) ["-s" dCfg.minSleep]; in '' exec -- rolling-directory ${escapeShellArgs args} ''; -- cgit v1.2.3