From: Tom Lane Date: Fri, 18 Jan 2002 16:14:54 +0000 (+0000) Subject: Add missing 'else', per report from sugita@sra.co.jp. X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=016a4f56e4fce9416d322270632c83c7e9b0addc;p=users%2Fbernd%2Fpostgres.git Add missing 'else', per report from sugita@sra.co.jp. --- diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c index f9d0380938..44933b038f 100644 --- a/src/bin/psql/command.c +++ b/src/bin/psql/command.c @@ -710,7 +710,7 @@ exec_command(const char *cmd, psql_error("\\%s: missing required argument\n", cmd); success = false; } - if (!SetVariable(pset.vars, opt, NULL)) + else if (!SetVariable(pset.vars, opt, NULL)) { psql_error("\\%s: error\n", cmd); success = false;