Missed a $ in expansion.

This commit is contained in:
Darren 'Tadgy' Austin 2026-05-30 14:39:56 +01:00
commit 5e74f99272

View file

@ -23,7 +23,7 @@ mkdir -p "$LOGSDIR" 2>/dev/null || {
}
# Update the log with this upload date/time.
printf "%s - %s\\n" "$(printf "%(%c)T")" "{RSYNC_USER_NAME:-(none)}@${RSYNC_HOST_NAME:-$RSYNC_HOST_ADDR}" >>"$LOGSDIR/${RSYNC_MODULE_NAME%%-upload}"
printf "%s - %s\\n" "$(printf "%(%c)T")" "${RSYNC_USER_NAME:-(none)}@${RSYNC_HOST_NAME:-$RSYNC_HOST_ADDR}" >>"$LOGSDIR/${RSYNC_MODULE_NAME%%-upload}"
# Determine the subject of the message.
if (( RSYNC_EXIT_STATUS == 0 )); then