Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Silvio Rhatto
Onionmine
Commits
7720c6ba
Verified
Commit
7720c6ba
authored
Jun 08, 2022
by
Silvio Rhatto
Browse files
Fix: selected-candidate: check if filters.lst exists
parent
197f0d8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/select-candidate
View file @
7720c6ba
...
...
@@ -64,10 +64,9 @@ if [ -z "$CANDIDATE" ]; then
[
-d
"
$CANDIDATES
"
]
&&
ls
-1
$CANDIDATES
|
sed
-e
's/^/ /'
echo
""
selected
echo
""
echo
"Configured filters:"
echo
""
cat
$POOL
/filters.lst |
sed
-e
's/^/ /'
[
-f
"
$POOL
/filters.lst"
]
&&
cat
$POOL
/filters.lst |
sed
-e
's/^/ /'
exit
1
fi
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment