Distro: Silence source

This commit is contained in:
Dylan Araps 2016-12-17 11:35:35 +11:00
parent d2f8f7247a
commit a95450a1bf
1 changed files with 1 additions and 1 deletions

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.