Check if gtm/gtm_proxy directory has a .pid file before trying to stop the
authorPavan Deolasee <[email protected]>
Tue, 22 Mar 2016 07:52:41 +0000 (13:22 +0530)
committerPavan Deolasee <[email protected]>
Tue, 18 Oct 2016 10:04:33 +0000 (15:34 +0530)
commit03ee8e89befc1bccf7206a6fd61355f4fc0b2657
tree547b4fb0d582ea184db181f7b32b36f93e5aace9
parentc161a88b480938792b7c5010e6f01838de101c06
Check if gtm/gtm_proxy directory has a .pid file before trying to stop the
server.

Before starting or initialising a new GTM/GTM proxy, we first try to stop
running server. But if server is not running, which is the case most often, it
will show an error This avoids those unnecessary error messages
contrib/pgxc_ctl/gtm_cmd.c