This is a backport of gtm_ctl -w option fix to 1.0.x, original
by Nikhil Sibtakke.

Patch annotation:
----8<-----------------------8<------
A patch to fix "gtm_ctl -w" behavior in GIT HEAD. I also tested
"-w -t nsecs" behavior and it seems to work as well. This patch can be
easily be backported to 1.0 if desired. I hope all these obnoxious gtm
startup issues are resolved now. Scripting was a bit painful because
of these issues.
--->8----------------------->8------

	modified:   src/gtm/gtm_ctl/gtm_ctl.c