[#255] undefined host error in netdisco-do psql
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2.033005
|
||||
|
||||
[BUG FIXES]
|
||||
|
||||
* [#255] undefined host error in netdisco-do psql
|
||||
|
||||
2.033004 - 2015-11-16
|
||||
|
||||
[BUG FIXES]
|
||||
|
||||
@@ -184,7 +184,7 @@ unless ($action) {
|
||||
my $pass = setting('database')->{pass};
|
||||
|
||||
my $portnum = undef;
|
||||
if ($host =~ m/([^;]+);port=(\d+)/) {
|
||||
if ($host and $host =~ m/([^;]+);port=(\d+)/) {
|
||||
$host = $1;
|
||||
$portnum = $2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user