summaryrefslogtreecommitdiffstats
path: root/nixos
diff options
context:
space:
mode:
authorVictor Engmark <victor@engmark.name>2023-06-08 15:05:59 +1200
committerVictor Engmark <victor@engmark.name>2023-06-08 15:11:35 +1200
commitb0a9abedea509018d76ef25312f18253eee4fd48 (patch)
tree02501afba9609a4deefe42a315546c1222396106 /nixos
parentb9e05544c9b0a382d3416d602791a63ec2e63217 (diff)
refactor: Use dummy variable name for unused value
As recommended by ShellCheck <https://github.com/koalaman/shellcheck/wiki/SC2034>.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/config/users-groups.nix2
1 files changed, 1 insertions, 1 deletions
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