Tools: Make list-ports.sh exit when ports.list does not exist

This commit is contained in:
apio 2022-11-02 18:53:47 +01:00
parent dfcc827103
commit 875d971d3b

View File

@ -29,6 +29,7 @@ unset_vars()
if ! [ -f ./ports.list ] if ! [ -f ./ports.list ]
then then
echo "No ports installed." echo "No ports installed."
exit 0
fi fi
export HAVE_PORTS=0 export HAVE_PORTS=0