We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently caddy fmt --overwrite fails rather silently if the file couldn't be modified:
caddy fmt --overwrite
user@vm:$ caddy fmt --overwrite /etc/caddy/Caddyfile user@vm:$ echo $? 1
Could we add an error message? This would also follow other unix tools:
user@vm:$ mkdir /data mkdir: cannot create directory '/data': Operation not permitted
The text was updated successfully, but these errors were encountered:
Good point, we don't print the error message currently. We should do that.
Sorry, something went wrong.
1a7a78a
No branches or pull requests
Currently
caddy fmt --overwrite
fails rather silently if the file couldn't be modified:Could we add an error message? This would also follow other unix tools:
The text was updated successfully, but these errors were encountered: