From 62556dea0829e28b802f79b54ef97825d3e3e708 Mon Sep 17 00:00:00 2001 From: PassiveLemon Date: Mon, 30 Dec 2024 17:38:48 -0500 Subject: [PATCH] nixos/cron: fix shellcheck findings with enableStrictShellChecks enabled --- nixos/modules/services/scheduling/cron.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/scheduling/cron.nix b/nixos/modules/services/scheduling/cron.nix index 447d07b4baf43..523c4989a38be 100644 --- a/nixos/modules/services/scheduling/cron.nix +++ b/nixos/modules/services/scheduling/cron.nix @@ -125,7 +125,7 @@ in wantedBy = [ "multi-user.target" ]; preStart = '' - mkdir -m 710 -p /var/cron + mkdir -m 710 /var/cron || true # By default, allow all users to create a crontab. This # is denoted by the existence of an empty cron.deny file.