Remove ineffective assignment in subcommand
No need to assign return value to $rc in subcommand, value in subcommand can not pass to parent process, plus, it is never used. Change-Id: I5f478813c7472d3709e09ff88f2165d5f1cd9097 Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
This commit is contained in:
1 changed files with 1 additions and 1 deletions
@@ -200,7 +200,7 @@ function wait_for_neutron_agents {
(
source "$CONFIG_DIR/admin-openstackrc.sh"
neutron agent-list | sort > "$agent_list"
local out=$(grep " :-) " "$agent_list" || rc=$?)
local out=$(grep " :-) " "$agent_list")
if [ -n "$out" ]; then
echo
echo "$out"
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.