Too Early Use of die Function Before It Is Defined

Bug #1913021 reported by Vanou Ishii
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Low
Vanou Ishii

Bug Description

At below portion of stack.sh, die function is used before it's defined.
https://opendev.org/openstack/devstack/src/branch/master/stack.sh#L95-L112

die function can be used after sourcing $TOP_DIR/functions chain-sources $TOP_DIR/functions-common.

Because portion of stack.sh, pointed to by above URL, checks existence of $TOP_DIR/inc and sourcing $TOP_DIR/function chain source $TOP_DIR/inc, it should use echo & exit command instead of die function.

Revision history for this message
Vanou Ishii (vanou) wrote :
Changed in devstack:
assignee: nobody → Vanou Ishii (vanou)
Changed in devstack:
status: New → In Progress
importance: Undecided → Low
Changed in devstack:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.