From 5677081ece57b79d06ae013869d15756b3568cbb Mon Sep 17 00:00:00 2001 From: Andreas Romeyke <art1@andreas-romeyke.de> Date: Wed, 12 Oct 2022 17:19:02 +0200 Subject: [PATCH] - indent fix --- validate_workflow.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/validate_workflow.sh b/validate_workflow.sh index 85fb37a..346d1f8 100755 --- a/validate_workflow.sh +++ b/validate_workflow.sh @@ -404,14 +404,14 @@ else /usr/bin/inotifywait --monitor --recursive --event create \ --event attrib --event moved_to --format "%w%f" "$WATCH_FOLDER" \ | while read -r filename; do - debug "called inotifywait using /usr/bin/inotifywait --monitor - --recursive --event create --event attrib --event moved_to --format '%f' $WATCH_FOLDER" - scan_file "$filename" - done - debug "stopping daemon" - else - # cli mode, scan watch folder once - debug "checking dir $WATCH_FOLDER" - scan_dir "$WATCH_FOLDER" + debug "called inotifywait using /usr/bin/inotifywait --monitor + --recursive --event create --event attrib --event moved_to --format '%f' $WATCH_FOLDER" + scan_file "$filename" + done + debug "stopping daemon" + else + # cli mode, scan watch folder once + debug "checking dir $WATCH_FOLDER" + scan_dir "$WATCH_FOLDER" fi fi -- GitLab