From 65fdd688bf92bcd8175222ebed740e76574975a3 Mon Sep 17 00:00:00 2001 From: fbt Date: Mon, 13 May 2019 22:57:40 +0300 Subject: [PATCH] That was poorly researched Signed-off-by: fbt --- ufwd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ufwd b/ufwd index fd14b7a..5fe469a 100755 --- a/ufwd +++ b/ufwd @@ -81,7 +81,7 @@ main() { while read -r dir action path; do upload "$dir$path" "$@" & - done < <( inotifywait -m -e create "$cfg_workdir" ) + done < <( inotifywait -m -e close_write "$cfg_workdir" ) } main "$@"