From 40c4a7748b1ba5815714a92112fac98181f24f70 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 16 Jul 2017 09:34:43 +1000 Subject: [PATCH] os: Fix bug where ChromeOS would be incorrectly detected. Closes #770 --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 054c4f26..44564cee 100755 --- a/neofetch +++ b/neofetch @@ -64,7 +64,7 @@ get_distro() { *) distro="$(lsb_release -sd) on Windows 10" ;; esac - elif [[ "$(< /proc/version)" == *"cros"* || -f "/dev/cros_ec" ]]; then + elif [[ "$(< /proc/version)" == *"chrome-bot"* || -f "/dev/cros_ec" ]]; then case "$distro_shorthand" in "on") distro="$(lsb_release -sir) [Chrome OS]" ;; "tiny") distro="Chrome OS" ;;