_read_config: Check host
definedness, not existence
This commit is contained in:
parent
a18efcbe32
commit
ac67c04f13
1 changed files with 1 additions and 1 deletions
|
@ -1893,7 +1893,7 @@ sub _read_config {
|
|||
}
|
||||
}
|
||||
%passwords = ();
|
||||
if (exists($locals{'host'})) {
|
||||
if (defined($locals{'host'})) {
|
||||
$args[0] = (@args ? "$args[0]," : '') . $locals{host};
|
||||
}
|
||||
## accumulate globals
|
||||
|
|
Loading…
Reference in a new issue