Windows 2000 optimisation.
authorIain Patterson <me@iain.cx>
Sun, 20 May 2012 13:58:46 +0000 (14:58 +0100)
committerIain Patterson <me@iain.cx>
Sun, 20 May 2012 14:00:37 +0000 (15:00 +0100)
Windows 2000 takes a few seconds to time out when trying and failing to
connect to the service manager if NSSM was run with no arguments.

Check for stdin first.  It won't exist if we are running in a service
context so we can skip the connection attempt unless we're unsure.


No differences found