Verified Commit 7720c6ba authored by Silvio Rhatto's avatar Silvio Rhatto
Browse files

Fix: selected-candidate: check if filters.lst exists

parent 197f0d8f
...@@ -64,10 +64,9 @@ if [ -z "$CANDIDATE" ]; then ...@@ -64,10 +64,9 @@ if [ -z "$CANDIDATE" ]; then
[ -d "$CANDIDATES" ] && ls -1 $CANDIDATES | sed -e 's/^/ /' [ -d "$CANDIDATES" ] && ls -1 $CANDIDATES | sed -e 's/^/ /'
echo "" echo ""
selected selected
echo ""
echo "Configured filters:" echo "Configured filters:"
echo "" echo ""
cat $POOL/filters.lst | sed -e 's/^/ /' [ -f "$POOL/filters.lst" ] && cat $POOL/filters.lst | sed -e 's/^/ /'
exit 1 exit 1
fi fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment