ensure format, drop the event

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2026-11-28 02:25:16 +00:00
parent 0fd04d1dd0
commit fb79ce67b5
+2 -2
View File
@@ -96,9 +96,9 @@ main() {
printf 'Working in:\n'
printf ' - %s\n' "${cfg_workdir[@]}"
while read -r d e f; do
while read -r d f; do
upload "$d$f" "$@" &
done < <( inotifywait -m -e close_write "${cfg_workdir[@]}" )
done < <( inotifywait -m --format '%w %f' -e close_write "${cfg_workdir[@]}" )
}
main "$@"