envsetup: Fix the way we check check_product's return value

Change-Id: I5a2a4b7be5dfee198094902aaa2c9a8c27b97704
gugelfrei-debug
LuK1337 3 years ago
parent 224d5a3c88
commit 75b03c622a

@ -661,8 +661,7 @@ function lunch()
return 1 return 1
fi fi
check_product $product if ! check_product $product
if [ $? -ne 0 ]
then then
# if we can't find a product, try to grab it off the LineageOS GitHub # if we can't find a product, try to grab it off the LineageOS GitHub
T=$(gettop) T=$(gettop)

Loading…
Cancel
Save