Skip to content

source ~/.cargo/env in .bashrc cause a machine failed as a rsync target #498

Closed
@jarod

Description

@jarod

because of these output in ~/.cargo/env

printf "PATH environment variable set.\n"
printf "You're ready to Rust!\n\n"
$ rsync -avrpz --delete dir/ target_server:dir/
protocol version mismatch -- is your shell clean?
(see the rsync man page for an explanation)
rsync error: protocol incompatibility (code 2) at compat.c(176) [sender=3.1.1]

It took me some time to find the problem.
maybe this not even an issue of rustup, but this really cause trouble to user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions