Skip to content
Snippets Groups Projects
Commit 5677081e authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- indent fix

parent a8924be6
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment