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

error handline of failed unmount #1451

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ArmanTheParman
Copy link
Contributor

For sda1 and nvme0n1p1

If the device fails to unmount, say due to a busy device, the code will get to the end but will fail. The user has to wait a long time to get the failed feedback. Better to exit immediately.

SUGGESTION...
It might be worth doing the error check earlier by moving the unmounting procedure before apt update/upgrade and before docker install.

For sda1 and nvme0n1p1

If the device fails to unmount, say due to a busy device, the code will get to the end but will fail. The user has to wait a long time to get the failed feedback. Better to exit immediately. 

SUGGESTION...
It might be worth doing the error check earlier by moving the unmounting procedure before apt update/upgrade and before docker install.
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.

3 participants