--- dbview-1.0.4.orig/dbview.c +++ dbview-1.0.4/dbview.c @@ -129,5 +129,5 @@ int main (int argc, char **argv) strcpy(dbfile, argv[optind]); /* if ! -f dbfile thnen -f dbfile.dbf */ - exit (db3_process (dbfile, flags, delim)); + exit (!db3_process (dbfile, flags, delim)); }