File: negate_exit_code

package info (click to toggle)
dbview 1.0.4-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 164 kB
  • sloc: ansic: 477; makefile: 133
file content (9 lines) | stat: -rw-r--r-- 293 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
--- 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));
 }