Don't complain about hba.conf is postgresql is remote

This commit is contained in:
Jamie Cameron
2009-11-27 12:34:31 -08:00
parent c265f26a1f
commit 4f8dae5d54

View File

@@ -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;