Skip to content

Commit ca3f583

Browse files
committed
hammer
1 parent 352f713 commit ca3f583

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

imap/hammer_cyrusdb.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@
6666
#include "assert.h"
6767
#include "auth.h"
6868
#include "cyrusdb.h"
69-
#include "exitcodes.h"
7069
#include "glob.h"
7170
#include "imap_err.h"
7271
#include "global.h"
@@ -154,7 +153,7 @@ int main(int argc, char *argv[])
154153
{
155154
struct db *db;
156155
const char *dbfile;
157-
const char *dbtype = "twoskip";
156+
const char *dbtype = "twom";
158157
int opt, r;
159158
char *alt_config = NULL;
160159
int db_flags = 0;
@@ -186,13 +185,13 @@ int main(int argc, char *argv[])
186185
"This is because some database backends (mainly berkeley) do not\n"
187186
"always do what you would expect with them.\n"
188187
"\nPlease use absolute pathnames instead.\n\n");
189-
exit(EC_OSERR);
188+
exit(1);
190189
}
191190

192191
cyrus_init(alt_config, "hammer_cyrusdb", 0, 0);
193192

194193
r = cyrusdb_open(dbtype, dbfile, db_flags, &db);
195-
if (r) fatal("can't open database", EC_TEMPFAIL);
194+
if (r) fatal("can't open database", 1);
196195

197196
hammer(db);
198197

0 commit comments

Comments
 (0)