diff options
author | Connor Kuehl <cipkuehl@gmail.com> | 2022-04-14 05:54:26 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-04-14 23:48:24 +0200 |
commit | fb0e9e3e41cd263de139de0bf620cc69ee5d61ae (patch) | |
tree | 7f35c77324b970e6146cff6f57ece3dd9df81ccb /lib/format/format.go | |
parent | d3a10b49834a9cb24411f8af3e68a4f8ea186152 (diff) | |
download | aerc-fb0e9e3e41cd263de139de0bf620cc69ee5d61ae.tar.gz |
config: don't swallow error in checkConfigPerms
os.Stat might return other errors aside from one stating that the file
does not exist. If it does, propagate the error down. As before, if the
file does not exist, just do nothing.
Signed-off-by: Connor Kuehl <cipkuehl@gmail.com>
Reviewed-by: Moritz Poldrack <moritz@poldrack.dev>
Tested-by: Moritz Poldrack <moritz@poldrack.dev>
Diffstat (limited to 'lib/format/format.go')
0 files changed, 0 insertions, 0 deletions