Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for bash when destination is local fails #17

Open
spmp opened this issue Dec 7, 2021 · 0 comments
Open

Check for bash when destination is local fails #17

spmp opened this issue Dec 7, 2021 · 0 comments

Comments

@spmp
Copy link

spmp commented Dec 7, 2021

When the destination is is local the test for bash over sh fails as:

btrfs-sync /somewhere/local /someotherplace/local
Remote user's shell not bash. Shells other than bash are not supported at the moment

Commenting out the line (

${DST_CMD[@]} "echo \$0 | grep bash > /dev/null" || { echo "Remote user's shell not bash. Shells other than bash are not supported at the moment"; exit 1; }
):

${DST_CMD[@]} "echo \$0 | grep bash > /dev/null" || { echo "Remote user's shell not bash. Shells other than bash are not supported at the moment"; exit 1; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant