Browse Source

Properly read StopTimeout from configuration.

Signed-off-by: Oleg Nenashev <[email protected]>
Oleg Demchenko 11 years ago
parent
commit
9a09af2c17
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ServiceDescriptor.cs

+ 1 - 1
ServiceDescriptor.cs

@@ -580,7 +580,7 @@ namespace winsw
         {
             get
             {
-                return SingleTimeSpanElement(dom, "stoptimeout", TimeSpan.FromSeconds(15));
+                return SingleTimeSpanElement(dom.FirstChild, "stoptimeout", TimeSpan.FromSeconds(15));
             }
         }