Fix backwards test for Windows service-ness in pg_ctl.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 5a39c7395d2dcf44f62256ec05b66341149f222f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-03-07T15:41:11Z
Releases: 9.1.21
Fix backwards test for Windows service-ness in pg_ctl.

A thinko in a96761391 caused pg_ctl to get it exactly backwards when
deciding whether to report problems to the Windows eventlog or to stderr.
Per bug #14001 from Manuel Mathar, who also identified the fix.
Like the previous patch, back-patch to all supported branches.

Files

PathChange+/−
src/bin/pg_ctl/pg_ctl.c modified +1 −1