Skip to content

Commit

Permalink
Update functions.sh: use --remote argument
Browse files Browse the repository at this point in the history
instead of --num
  • Loading branch information
EricClaeys authored Jul 29, 2023
1 parent 54ab15b commit ac35041
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ function upload_all()
REMOTE_DIR="${ROOT}/${SUBDIR}"
fi
#shellcheck disable=SC2086
"${ALLSKY_SCRIPTS}/upload.sh" ${ARGS} --num 1 \
"${ALLSKY_SCRIPTS}/upload.sh" ${ARGS} --remote "web" \
"${UPLOAD_FILE}" "${REMOTE_DIR}" "${DESTINATION_NAME}" "${FILE_TYPE}"
((RET+=$?))
fi
Expand All @@ -881,7 +881,7 @@ function upload_all()
REMOTE_DIR="${ROOT}/${SUBDIR}"
fi
#shellcheck disable=SC2086
"${ALLSKY_SCRIPTS}/upload.sh" ${ARGS} --num 2 \
"${ALLSKY_SCRIPTS}/upload.sh" ${ARGS} --remote "server" \
"${UPLOAD_FILE}" "${REMOTE_DIR}" "${DESTINATION_NAME}" "${FILE_TYPE}"
((RET+=$?))
fi
Expand Down

0 comments on commit ac35041

Please sign in to comment.