Fixed bug with error message and changelog
This commit is contained in:
parent
40eae87357
commit
2c6a95b63f
2 changed files with 12 additions and 2 deletions
13
1.7.md
13
1.7.md
|
@ -11,10 +11,19 @@ Thanks to the following people for contributing this release.
|
|||
### General
|
||||
|
||||
- Made it easier to get verbose logs.
|
||||
- Added `--verbose` to print a verbose log to stdout. \[1\]
|
||||
- Added issue template for github.
|
||||
|
||||
\[1\] Use `neofetch --verbose 2> file` to save a verbose log for bug reporting.
|
||||
### Error Messages
|
||||
|
||||
Neofetch now supports displaying error messages and saving a verbose log for<br \>
|
||||
troubleshooting.
|
||||
|
||||
![log](https://ipfs.pics/ipfs/QmeTWGKozY79zcxbrgXueyTRfQcTUe7ZmDqLv4ASgJB4G4)
|
||||
|
||||
- Added `-v` to print error messages to stdout.
|
||||
- Added `-vv` to print a verbose log to stdout. \[1\]
|
||||
|
||||
\[1\] Use `neofetch -vv 2> file` to save a verbose log for bug reporting.
|
||||
|
||||
### Info
|
||||
|
||||
|
|
1
neofetch
1
neofetch
|
@ -1902,6 +1902,7 @@ getwallpaper () {
|
|||
getascii () {
|
||||
if [ ! -f "$ascii" ] || [ "$ascii" == "distro" ]; then
|
||||
# Error message
|
||||
[ "$ascii" != "distro" ] && \
|
||||
[ ! -f "$ascii" ] && err "Ascii file not found, using distro ascii"
|
||||
|
||||
# Lowercase the distro name
|
||||
|
|
Loading…
Reference in a new issue