Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Commit

Permalink
Bug 876247 - Write DB forwarding to stderr
Browse files Browse the repository at this point in the history
* The rhc scritps expect the port forwarding information on stderr not stdout
  • Loading branch information
jwhonce committed Feb 5, 2013
1 parent cb9ef2f commit 145b2b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node-util/bin/rhc-list-ports
Expand Up @@ -10,7 +10,7 @@
for f in $(ls -1 ~/.env/.uservars/*_DB_HOST 2>/dev/null); do
DB=$(echo $f |sed -e 's/.*OPENSHIFT_\(.*\)_DB_HOST/\1/' |tr '[A-Z]' '[a-z]')
PORT_FILE=$(echo $f |sed 's/_DB_HOST/_DB_PORT/')
echo $DB '->' $(cat $f)\:$(cat $PORT_FILE)
echo $DB '->' $(cat $f)\:$(cat $PORT_FILE) 1>&2
done

gear_registry="./haproxy-1.4/conf/gear-registry.db"
Expand Down

0 comments on commit 145b2b7

Please sign in to comment.