Fix backwards test for Windows service-ness in pg_ctl.

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

Commit: 89f8372cb3a223cace21d4037336bfb37e8dbf3c
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-03-07T15:40:57Z
Releases: 9.4.7
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