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