From b0a9abedea509018d76ef25312f18253eee4fd48 Mon Sep 17 00:00:00 2001 From: Victor Engmark Date: Thu, 8 Jun 2023 15:05:59 +1200 Subject: [PATCH] refactor: Use dummy variable name for unused value As recommended by ShellCheck . --- nixos/modules/config/users-groups.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/config/users-groups.nix b/nixos/modules/config/users-groups.nix index d1e9c8072eac..4640a0f3d6be 100644 --- a/nixos/modules/config/users-groups.nix +++ b/nixos/modules/config/users-groups.nix @@ -652,7 +652,7 @@ in { deps = [ "users" ]; text = '' users=() - while IFS=: read -r user hash tail; do + while IFS=: read -r user hash _; do if [[ "$hash" = "$"* && ! "$hash" =~ ^\''$${cryptSchemeIdPatternGroup}\$ ]]; then users+=("$user") fi