diff --git a/tsumugu.sh b/tsumugu.sh old mode 100644 new mode 100755 index c31fce9..8c6aab1 --- a/tsumugu.sh +++ b/tsumugu.sh @@ -19,4 +19,4 @@ export NO_COLOR=1 [ ! -d "${TUNASYNC_WORKING_DIR}" ] && mkdir -p "${TUNASYNC_WORKING_DIR}" cd ${TUNASYNC_WORKING_DIR} -tsumugu sync $TUNASYNC_TSUMUGU_TIMEZONEFILE --user-agent "$TUNASYNC_TSUMUGU_USERAGENT" --max-delete "$TUNASYNC_TSUMUGU_MAXDELETE" --parser "$TUNASYNC_TSUMUGU_PARSER" --threads "$TUNASYNC_TSUMUGU_THREADS" $TUNASYNC_TSUMUGU_EXCLUDE $TUNASYNC_TSUMUGU_OPTIONS "$TUNASYNC_UPSTREAM_URL" "$TUNASYNC_WORKING_DIR" +exec tsumugu sync $TUNASYNC_TSUMUGU_TIMEZONEFILE --user-agent "$TUNASYNC_TSUMUGU_USERAGENT" --max-delete "$TUNASYNC_TSUMUGU_MAXDELETE" --parser "$TUNASYNC_TSUMUGU_PARSER" --threads "$TUNASYNC_TSUMUGU_THREADS" $TUNASYNC_TSUMUGU_EXCLUDE $TUNASYNC_TSUMUGU_OPTIONS "$TUNASYNC_UPSTREAM_URL" "$TUNASYNC_WORKING_DIR"