summaryrefslogtreecommitdiff
path: root/lib/nss_wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'lib/nss_wrapper')
-rw-r--r--lib/nss_wrapper/nss_wrapper.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nss_wrapper/nss_wrapper.pl b/lib/nss_wrapper/nss_wrapper.pl
index b1c9be5365..dbb7f85dc4 100644
--- a/lib/nss_wrapper/nss_wrapper.pl
+++ b/lib/nss_wrapper/nss_wrapper.pl
@@ -171,7 +171,7 @@ sub passwd_remove_entry($$)
{
my ($passwd, $eref) = @_;
- for(my $i; defined($passwd->{array}[$i]); $i++) {
+ for (my $i = 0; defined($passwd->{array}[$i]); $i++) {
if ($eref == $passwd->{array}[$i]) {
$passwd->{array}[$i] = undef;
}