Skip to content

Commit e256174

Browse files
author
Ethan Lynn
committed
Correct openrc script for zsh
Since commit 7580a0c, 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
1 parent 11b111f commit e256174

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/source/faq.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ through bash for this
8585
8686
function sourceopenrc {
8787
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}'")
8989
popd >/dev/null
9090
}
9191

0 commit comments

Comments
 (0)