Fix backwards test for Windows service-ness in pg_ctl.

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

Commit: 15d43196cde78fb46e989bbd6bb8d294fcf2f492
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-03-07T15:41:07Z
Releases: 9.2.16
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