aboutsummaryrefslogtreecommitdiff
path: root/nss/makedb.c
diff options
context:
space:
mode:
Diffstat (limited to 'nss/makedb.c')
-rw-r--r--nss/makedb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nss/makedb.c b/nss/makedb.c
index 06bd18a..191da55 100644
--- a/nss/makedb.c
+++ b/nss/makedb.c
@@ -138,7 +138,7 @@ main (int argc, char *argv[])
/* First load the shared object to initialize version dependend
variables. */
- if (load_db ())
+ if (load_db () != NSS_STATUS_SUCCESS)
error (EXIT_FAILURE, 0, gettext ("No usable database library found."));
/* Special handling if we are asked to print the database. */