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

mv/i-5.sh: interactive question isn't prompted #3337

Closed
Tracked by #3336
sylvestre opened this issue Mar 29, 2022 · 0 comments · Fixed by #3383
Closed
Tracked by #3336

mv/i-5.sh: interactive question isn't prompted #3337

sylvestre opened this issue Mar 29, 2022 · 0 comments · Fixed by #3383
Labels

Comments

@sylvestre
Copy link
Contributor

mkdir a
touch b

echo n|./target/debug/coreutils mv -i a b
mv: cannot overwrite non-directory 'b' with directory 'a'

I guess the interactive question isn't asked as the right time.

The error is triggered here:
https://github.com/uutils/coreutils/blob/main/src/uu/mv/src/mv.rs#L261=

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants