auto create INCOMDE_DIR

This commit is contained in:
leafee98 2023-08-04 16:53:46 +08:00
parent 632fb43004
commit ac2f21370c

View file

@ -126,6 +126,7 @@ while [[ "$GO_ON" = "1" ]]
do do
build_repo build_repo
mkdir -p "$INCOME_DIR"
msg "start watching INCOME_DIR" msg "start watching INCOME_DIR"
inotifywait --quiet -e move -e modify -e create "$INCOME_DIR" & inotifywait --quiet -e move -e modify -e create "$INCOME_DIR" &
inotify_pid="$!" inotify_pid="$!"