[ckan-changes] commit/ckan-debs-public: jame... at okfn.org: Removing a /dev/null

Bitbucket commits-noreply at bitbucket.org
Thu Jun 16 08:28:59 UTC 2011


1 new changeset in ckan-debs-public:

http://bitbucket.org/okfn/ckan-debs-public/changeset/e25bd8251677/
changeset:   e25bd8251677
user:        jame... at okfn.org
date:        2011-06-16 10:28:50
summary:     Removing a /dev/null
affected #:  1 file (13 bytes)

--- a/ckan-common/usr/lib/ckan/common.sh	Wed Jun 15 17:28:36 2011 +0100
+++ b/ckan-common/usr/lib/ckan/common.sh	Thu Jun 16 09:28:50 2011 +0100
@@ -142,7 +142,7 @@
         exit 1
     else
         INSTANCE=$1
-        COMMAND_OUTPUT=`sudo -u postgres psql -l 2> /dev/null`
+        COMMAND_OUTPUT=`sudo -u postgres psql -l`
         if ! [[ "$COMMAND_OUTPUT" =~ ${INSTANCE} ]] ; then
             echo "Creating the database ..."
             su postgres -c "createdb -O ${INSTANCE} ${INSTANCE}"

Repository URL: https://bitbucket.org/okfn/ckan-debs-public/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.




More information about the ckan-changes mailing list