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

Separate the errors for no ks specified and file not found #175

Merged
merged 1 commit into from Jan 15, 2021

Conversation

funnelfiasco
Copy link

It's more helpful to the user if we don't combine "you didn't give me a
kickstart file" and "you gave me a kickstart file, but it doesn't
exist".

In addition to giving separate error messages for the two cases, the
"you gave me a kickstart file, but it doesn't exist" says what kickstart
file it thinks it's looking for, which will help users catch syntax
errors.

Fixes #174

It's more helpful to the user if we don't combine "you didn't give me a
kickstart file" and "you gave me a kickstart file, but it doesn't
exist".

In addition to giving separate error messages for the two cases, the
"you gave me a kickstart file, but it doesn't exist" says what kickstart
file it thinks it's looking for, which will help users catch syntax
errors.

Fixes livecd-tools#174
Copy link

@nasirhm nasirhm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@Conan-Kudo Conan-Kudo merged commit cab3eb5 into livecd-tools:master Jan 15, 2021
@Conan-Kudo
Copy link
Member

Merged, thanks for the patch @funnelfiasco!

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.

Kickstart file error is unhelpful
3 participants