Distro: Silence source

This commit is contained in:
Dylan Araps 2016-12-17 11:35:35 +11:00
parent d2f8f7247a
commit a95450a1bf

View file

@ -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.