From 39a412d47ddb87f84e1a0d3eb168b0ce0d30498e Mon Sep 17 00:00:00 2001 From: Felix Scheinost Date: Thu, 9 Nov 2023 12:44:10 +0100 Subject: [PATCH] Fix unbound variable `etcProblems` I have another activationScript which traps errors. Currently `etcProblems` can be unbound. --- modules/system/etc.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/etc.nix b/modules/system/etc.nix index 9608033f..1c415266 100644 --- a/modules/system/etc.nix +++ b/modules/system/etc.nix @@ -48,7 +48,7 @@ in etc} ) - declare -a etcProblems + declare -a etcProblems=() while IFS= read -r -d "" configFile; do subPath=''${configFile#"$systemConfig"/etc/}