Tools: Make list-ports.sh exit when ports.list does not exist
This commit is contained in:
parent
dfcc827103
commit
875d971d3b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user