[rhmessaging-commits] rhmessaging commits: r3750 - mgmt/trunk/mint/bin.
rhmessaging-commits at lists.jboss.org
rhmessaging-commits at lists.jboss.org
Wed Dec 16 14:39:17 EST 2009
Author: justi9
Date: 2009-12-16 14:39:16 -0500 (Wed, 16 Dec 2009)
New Revision: 3750
Modified:
mgmt/trunk/mint/bin/mint-database
Log:
A better access check
Modified: mgmt/trunk/mint/bin/mint-database
===================================================================
--- mgmt/trunk/mint/bin/mint-database 2009-12-16 19:30:03 UTC (rev 3749)
+++ mgmt/trunk/mint/bin/mint-database 2009-12-16 19:39:16 UTC (rev 3750)
@@ -127,7 +127,7 @@
# Is it accessible?
# Does it have a schema loaded?
- run "psql -c '\q'" postgres || {
+ run "psql -d cumin -U cumin -h localhost -c '\q'" postgres || {
echo "The database is not accessible"
exit 1
}
More information about the rhmessaging-commits
mailing list