projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c265f26
)
Don't complain about hba.conf is postgresql is remote
author
Jamie Cameron
<jcameron@webmin.com>
Fri, 27 Nov 2009 20:34:31 +0000
(12:34 -0800)
committer
Jamie Cameron
<jcameron@webmin.com>
Fri, 27 Nov 2009 20:34:31 +0000
(12:34 -0800)
postgresql/install_check.pl
patch
|
blob
|
history
diff --git
a/postgresql/install_check.pl
b/postgresql/install_check.pl
index
737154a
..
01735f8
100755
(executable)
--- a/
postgresql/install_check.pl
+++ b/
postgresql/install_check.pl
@@
-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;