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 ]
|
||||
then
|
||||
echo "No ports installed."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
export HAVE_PORTS=0
|
||||
|
Loading…
Reference in New Issue
Block a user