aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/psql.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1997-01-13 02:03:31 +0000
committerBruce Momjian <bruce@momjian.us>1997-01-13 02:03:31 +0000
commitcac34636490bd1799b93af65c3257b2b5b32e931 (patch)
treeb8c9e964a67ed44d3755c06201d608a2066b8af9 /src/bin/psql/psql.c
parent2de3d96f6923791e580967cb55b1a44c9685bb62 (diff)
downloadpostgresql-cac34636490bd1799b93af65c3257b2b5b32e931.tar.gz
postgresql-cac34636490bd1799b93af65c3257b2b5b32e931.zip
No EOF from psql when quiet mode.
Diffstat (limited to 'src/bin/psql/psql.c')
-rw-r--r--src/bin/psql/psql.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/psql.c b/src/bin/psql/psql.c
index 9c5bf7efaab..7b6e50fc11d 100644
--- a/src/bin/psql/psql.c
+++ b/src/bin/psql/psql.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.47 1997/01/10 20:52:32 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.48 1997/01/13 02:03:31 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -1285,7 +1285,7 @@ MainLoop(PsqlSettings * settings, FILE * source)
query_start = line;
- if (line == NULL) { /* No more input. Time to quit */
+ if (line == NULL && !settings->quiet) { /* No more input. Time to quit */
printf("EOF\n"); /* Goes on prompt line */
eof = true;
} else {