Fix couple of regressions introduced in the previous commit.
authorPavan Deolasee <pavan.deolasee@gmail.com>
Mon, 15 Oct 2018 08:19:22 +0000 (13:49 +0530)
committerPavan Deolasee <pavan.deolasee@gmail.com>
Mon, 15 Oct 2018 08:21:26 +0000 (13:51 +0530)
commite9a0f37c0e63da2221afbf6e6549d895e2adac91
tree8f7a45ce7f9ee4b2d7eb810e94ccd439d9a108a2
parentf63d7f3b6f4f44bd4db26f5d02095c44b9b9335f
Fix couple of regressions introduced in the previous commit.

The format of the GTM control file setup during `initgtm` was broken. Also, we
failed to consider the case of GTM standby initialising which might pass a NULL
File handle.
src/bin/initgtm/initgtm.c
src/gtm/main/main.c