Correct openrc script for zsh
Since commit 7580a0c3e3
, 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
This commit is contained in:
parent
11b111fd7a
commit
e256174d9a
@ -85,7 +85,7 @@ through bash for this
|
||||
|
||||
function sourceopenrc {
|
||||
pushd ~/devstack >/dev/null
|
||||
eval $(bash -c ". openrc $1 $2;env|sed -n '/OS_/ { s/^/export /;p}'")
|
||||
eval $(bash -c ". openrc $1 $2 >/dev/null;env|sed -n '/OS_/ { s/^/export /;p}'")
|
||||
popd >/dev/null
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user