Author: justi9
Date: 2010-06-04 11:05:39 -0400 (Fri, 04 Jun 2010)
New Revision: 4007
Modified:
mgmt/newdata/cumin/bin/cumin-database
Log:
Refine the initialization check
Modified: mgmt/newdata/cumin/bin/cumin-database
===================================================================
--- mgmt/newdata/cumin/bin/cumin-database 2010-06-03 09:51:23 UTC (rev 4006)
+++ mgmt/newdata/cumin/bin/cumin-database 2010-06-04 15:05:39 UTC (rev 4007)
@@ -53,7 +53,7 @@
}
function check-initialized {
- if [[ ! -d "$pgdata" ]]; then
+ if [[ ! -f "$pghbaconf" ]]; then
echo "Error: The database is not initialized"
echo "Hint: Run 'cumin-database initialize'"
return 1
Show replies by date