Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

* fix: robustify hack

  • Loading branch information...
commit 5286a9771368b436cf3ec8997e2b9736e95da2fe 1 parent 41997ac
Chip Malice authored July 08, 2010

Showing 1 changed file with 5 additions and 0 deletions. Show diff stats Hide diff stats

  1. 5  bin/vhost
5  bin/vhost
@@ -571,6 +571,11 @@ module Hipe
571 571
                 :server_name => $2, :conf_path => $3, :port => $1
572 572
               )
573 573
             when /^Syntax OK$/: #skip for now end
  574
+            when /^httpd: Could not reliably determine/: #skip
  575
+            when /^\*:(\d{4}) +([^ ]+) +\((.+)\:\d+\)$/ 
  576
+              infos.push OpenStruct.new(
  577
+                :server_name => $2, :conf_path => $3, :port => $1
  578
+              )
574 579
             else
575 580
               raise Fail.new("we suck: parse fail:\n#{line.inspect}")
576 581
           end

0 notes on commit 5286a97

Please sign in to comment.
Something went wrong with that request. Please try again.