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

Fix hang on systems with interactive rm #260

Merged
merged 1 commit into from
Apr 17, 2018

Conversation

simon-baatz
Copy link
Contributor

Some systems configure rm to prompt when deleting a file as root
user. On such systems, hostmanager hangs when updating the hosts file
since commit 84d2f9e ("fix host file management to be windows and
linux compatible").

Avoid this by adding the '-f' parameter to rm.

Some systems configure `rm` to prompt when deleting a file as root
user. On such systems, hostmanager hangs when updating the hosts file
since commit 84d2f9e ("fix host file management to be windows and
linux compatible").

Avoid this by adding the '-f' parameter to rm.
@seth-reeser seth-reeser merged commit eddb711 into devopsgroup-io:master Apr 17, 2018
@simon-baatz simon-baatz deleted the fix_hosts_update_hang branch April 18, 2018 10:06
vafschoen pushed a commit to vafschoen/vagrant-hostmanager that referenced this pull request Nov 15, 2024
…e_hang

Fix hang on systems with interactive rm
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

Successfully merging this pull request may close these issues.

2 participants