]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - onak.c
Make keyd background itself by default
[onak.git] / onak.c
diff --git a/onak.c b/onak.c
index 40e8b0e09277850b8beb4fa6c2465c16726f9efe..e6b92871ae57a1a4898712a80c06ef07bc869a00 100644 (file)
--- a/onak.c
+++ b/onak.c
@@ -161,7 +161,7 @@ int main(int argc, char *argv[])
        } else if (!strcmp("dump", argv[optind])) {
                config.dbbackend->initdb(true);
                dumpstate.count = dumpstate.filenum = 0;
        } else if (!strcmp("dump", argv[optind])) {
                config.dbbackend->initdb(true);
                dumpstate.count = dumpstate.filenum = 0;
-               dumpstate.maxcount = 1000000;
+               dumpstate.maxcount = 100000;
                dumpstate.fd = -1;
                dumpstate.filebase = "keydump.%d.pgp";
                config.dbbackend->iterate_keys(dump_func, &dumpstate);
                dumpstate.fd = -1;
                dumpstate.filebase = "keydump.%d.pgp";
                config.dbbackend->iterate_keys(dump_func, &dumpstate);