diff options
author | Victor Engmark <victor@engmark.name> | 2023-06-08 15:05:59 +1200 |
---|---|---|
committer | Victor Engmark <victor@engmark.name> | 2023-06-08 15:11:35 +1200 |
commit | b0a9abedea509018d76ef25312f18253eee4fd48 (patch) | |
tree | 02501afba9609a4deefe42a315546c1222396106 /nixos | |
parent | b9e05544c9b0a382d3416d602791a63ec2e63217 (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.nix | 2 |
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 |