Fix: wrong event move_to, should be moved_to
This commit is contained in:
parent
6baca3da57
commit
f319ed2978
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue