Fix backwards test for Windows service-ness in pg_ctl.

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

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