*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.48 1997/01/13 02:03:31 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.49 1997/01/13 02:35:32 momjian Exp $
*
*-------------------------------------------------------------------------
*/
query_start = line;
- if (line == NULL && !settings->quiet) { /* No more input. Time to quit */
- printf("EOF\n"); /* Goes on prompt line */
+ if (line == NULL) { /* No more input. Time to quit */
+ if (!settings->quiet)
+ printf("EOF\n"); /* Goes on prompt line */
eof = true;
} else {
/* remove whitespaces on the right, incl. \n's */