diff options
Diffstat (limited to 'contrib/pg_upgrade/controldata.c')
-rw-r--r-- | contrib/pg_upgrade/controldata.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/pg_upgrade/controldata.c b/contrib/pg_upgrade/controldata.c index 3dc9e64b622..bfb1ed0ec8c 100644 --- a/contrib/pg_upgrade/controldata.c +++ b/contrib/pg_upgrade/controldata.c @@ -126,8 +126,8 @@ get_control_data(ClusterInfo *cluster, bool live_check) /* we have the result of cmd in "output". so parse it line by line now */ while (fgets(bufin, sizeof(bufin), output)) { - if (log.debug) - fputs(bufin, log.debug_fd); + if (log_opts.debug) + fputs(bufin, log_opts.debug_fd); #ifdef WIN32 |