Remove print that fools kpasswdd.

The output from this print is considered an error message which makes
kpasswdd reject a password even though "APPROVED" is printed afterwards.

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
This commit is contained in:
Patrik Lundin
2010-07-23 10:00:36 +02:00
committed by Love Hornquist Astrand
parent 606c549626
commit b749ee7921

View File

@@ -73,7 +73,6 @@ sub check_repeat
dbmopen(%DB,$historydb,0600) or die "Internal: Could not open $historydb";
if (!$DB{$key} || ($timenow - $DB{$key} < $reusetime)) {
$result = "ok";
print $timenow - $DB{$key} . "\n";
$DB{$key}=$timenow;
}
dbmclose(%DB) or die "Internal: Could not close $historydb";