mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Don't complain about hba.conf is postgresql is remote
This commit is contained in:
@@ -11,7 +11,7 @@ sub is_installed
|
||||
return 0 if (!-x $config{'psql'});
|
||||
if ($_[0]) {
|
||||
# Check for .conf and if can login
|
||||
return 1 if (!-r $hba_conf_file);
|
||||
return 1 if (!-r $hba_conf_file && &is_postgresql_local());
|
||||
return 2 if (&is_postgresql_running() == 1);
|
||||
}
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user