We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d117782 commit 565dcdfCopy full SHA for 565dcdf
contrib/vacuumlo/vacuumlo.c
@@ -8,7 +8,7 @@
8
*
9
10
* IDENTIFICATION
11
- * $Header: /cvsroot/pgsql/contrib/vacuumlo/vacuumlo.c,v 1.17 2002/10/18 18:41:21 momjian Exp $
+ * $Header: /cvsroot/pgsql/contrib/vacuumlo/vacuumlo.c,v 1.18 2002/12/03 07:12:18 tgl Exp $
12
13
*-------------------------------------------------------------------------
14
*/
@@ -471,7 +471,7 @@ main(int argc, char **argv)
471
}
472
473
/* No database given? Show usage */
474
- if (optind >= argc - 1)
+ if (optind >= argc)
475
{
476
fprintf(stderr, "vacuumlo: missing required argument: database name\n");
477
fprintf(stderr, "Try 'vacuumlo -?' for help.\n");
0 commit comments