diff --git a/rclone.sh b/rclone.sh index 3b3e881..4939da9 100644 --- a/rclone.sh +++ b/rclone.sh @@ -9,7 +9,7 @@ RCLONE_COMMAND="${RCLONE_BIN} --config ${RCLONE_CONFIG} --log-level DEBUG --log- PIDFILE="${RCLONE_DIR}/rclone.sh.pid" # removes pid file and exit cleany -function clean-up { +clean-up { # Gzip Log files find ${RCLONE_LOGS} -type f ! -name '*.gz' -exec pigz "{}" \; # remove the pid file