From 5e74f992720e7479fa2fb41275e5022e930ac815 Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Sat, 30 May 2026 14:39:56 +0100 Subject: [PATCH] Missed a $ in expansion. --- notify-rsync-upload | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notify-rsync-upload b/notify-rsync-upload index d271c41..df0eb04 100755 --- a/notify-rsync-upload +++ b/notify-rsync-upload @@ -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