Skip to content
Snippets Groups Projects
Commit 4eac3bec authored by Jörg Sachse's avatar Jörg Sachse
Browse files

Merge branch '7-check-upcoming-first' into 'master'

Resolve "check upcoming first"

Closes #7

See merge request !2
parents 08ee3635 b28fe8f8
No related branches found
No related tags found
1 merge request!2Resolve "check upcoming first"
......@@ -426,7 +426,7 @@ scan_file() {
debug "scan_file, === entering protected area ==="
if [ "$STAGE" = "any" ]; then
is_valid=0
for stage in current upcoming; do
for stage in upcoming current; do
cmd=$(prepare_cmd "$MODE" "$ftype" "$stage" | sed -e "s#FILE#$filename#")
is_valid=$(exec_cmd "$cmd" "$ftype" "$MODE" "$stage" "$logname")
if [ "$is_valid" -eq 0 ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment