From 7c97a5a29ea934a572e3cc38e0fb046381798b3b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <joerg.sachse@slub-dresden.de>
Date: Fri, 14 Oct 2022 16:44:07 +0200
Subject: [PATCH] Update validate_workflow.sh

---
 validate_workflow.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/validate_workflow.sh b/validate_workflow.sh
index 5797e57..1b1b033 100755
--- a/validate_workflow.sh
+++ b/validate_workflow.sh
@@ -425,7 +425,7 @@ scan_file() {
     trap "" SIGINT
     debug "scan_file, === entering protected area ==="
     if [ "$STAGE" = "any" ]; then
-        is_valid=0
+        is_valid=1
         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")
-- 
GitLab