File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 66
66
#include "assert.h"
67
67
#include "auth.h"
68
68
#include "cyrusdb.h"
69
- #include "exitcodes.h"
70
69
#include "glob.h"
71
70
#include "imap_err.h"
72
71
#include "global.h"
@@ -154,7 +153,7 @@ int main(int argc, char *argv[])
154
153
{
155
154
struct db * db ;
156
155
const char * dbfile ;
157
- const char * dbtype = "twoskip " ;
156
+ const char * dbtype = "twom " ;
158
157
int opt , r ;
159
158
char * alt_config = NULL ;
160
159
int db_flags = 0 ;
@@ -186,13 +185,13 @@ int main(int argc, char *argv[])
186
185
"This is because some database backends (mainly berkeley) do not\n"
187
186
"always do what you would expect with them.\n"
188
187
"\nPlease use absolute pathnames instead.\n\n" );
189
- exit (EC_OSERR );
188
+ exit (1 );
190
189
}
191
190
192
191
cyrus_init (alt_config , "hammer_cyrusdb" , 0 , 0 );
193
192
194
193
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 );
196
195
197
196
hammer (db );
198
197
You can’t perform that action at this time.
0 commit comments