Fix: wrong event move_to, should be moved_to

This commit is contained in:
leafee98 2023-09-28 19:27:19 +08:00
parent 6baca3da57
commit f319ed2978

View file

@ -128,7 +128,7 @@ do
mkdir -p "$INCOME_DIR"
msg "start watching INCOME_DIR"
inotifywait --quiet -e move_to -e close_write "$INCOME_DIR" &
inotifywait --quiet -e moved_to -e close_write "$INCOME_DIR" &
inotify_pid="$!"
# When inotifywait was killed, its return code is no-zero,