Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b3033231 authored by LuK1337's avatar LuK1337
Browse files

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

Change-Id: I5a2a4b7be5dfee198094902aaa2c9a8c27b97704
parent bbbadabc
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -651,8 +651,7 @@ function lunch()
        return 1
    fi

    check_product $product
    if [ $? -ne 0 ]
    if ! check_product $product
    then
        # if we can't find a product, try to grab it off the LineageOS GitHub
        T=$(gettop)