multitree_lunch: remove extraneous call

If the shell is set to exit on errors, the extraneous (incorrect syntax)
call to lunch.py causes an early exit.

Change-Id: I0176d5c9e7e42640514fd4988d82fbfdd825631d
This commit is contained in:
LaMont Jones
2022-12-07 21:55:58 +00:00
parent b4b8760144
commit 51670eb263

View File

@@ -444,9 +444,7 @@ function multitree_lunch()
# Lunch must be run in the topdir, but this way we get a clear error
# message, instead of FileNotFound.
local T=$(multitree_gettop)
if [ -n "$T" ]; then
"$T/orchestrator/build/orchestrator/core/lunch.py" "$@"
else
if [ -z "$T" ]; then
_multitree_lunch_error
return 1
fi