Distro: Silence source
This commit is contained in:
parent
d2f8f7247a
commit
a95450a1bf
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -88,7 +88,7 @@ get_distro() {
|
|||
else
|
||||
# Source the os-release file
|
||||
for file in /etc/os-release /usr/lib/os-release /etc/*release /usr/lib/*release; do
|
||||
source "$file" && break
|
||||
source "$file" 2>/dev/null && break
|
||||
done
|
||||
|
||||
# Format the distro name.
|
||||
|
|
Loading…
Reference in a new issue