Since commit 7580a0c3e37932a8fc03750d35ccd4e13e18f8c4, openrc
print a WARNING message to stdout, it will break the zsh script
in faq.rst. This patch redirect openrc output to /dev/null.
Change-Id: Iaba03634d7a234cd4d120477f91ef56d0595cdf6
Closes-Bug: #1563940
| ... | ... |
@@ -85,7 +85,7 @@ through bash for this |
| 85 | 85 |
|
| 86 | 86 |
function sourceopenrc {
|
| 87 | 87 |
pushd ~/devstack >/dev/null |
| 88 |
- eval $(bash -c ". openrc $1 $2;env|sed -n '/OS_/ { s/^/export /;p}'")
|
|
| 88 |
+ eval $(bash -c ". openrc $1 $2 >/dev/null;env|sed -n '/OS_/ { s/^/export /;p}'")
|
|
| 89 | 89 |
popd >/dev/null |
| 90 | 90 |
} |
| 91 | 91 |
|