summaryrefslogtreecommitdiff
path: root/cracklib/lib/fascist.c
diff options
context:
space:
mode:
Diffstat (limited to 'cracklib/lib/fascist.c')
-rw-r--r--cracklib/lib/fascist.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/cracklib/lib/fascist.c b/cracklib/lib/fascist.c
index e61ea49..184469e 100644
--- a/cracklib/lib/fascist.c
+++ b/cracklib/lib/fascist.c
@@ -864,10 +864,7 @@ FascistCheck(password, path)
if (!(pwp = PWOpen(path, "r")))
{
- /* shouldn't perror in a library or exit */
- /* but should we return a "bad password" or "good password" if this error occurs */
- perror("PWOpen");
- exit(-1);
+ return _("error loading dictionary");
}
/* sure seems like we should close the database, since we're only likely to check one password */