aboutsummaryrefslogtreecommitdiff
path: root/nofetch
diff options
context:
space:
mode:
Diffstat (limited to 'nofetch')
-rw-r--r--nofetch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nofetch b/nofetch
index 887fc28..006f8a5 100644
--- a/nofetch
+++ b/nofetch
@@ -36,7 +36,7 @@ else
nofetch="something has gone terribly wrong"
fi
-osname=$(cat /etc/os-release | grep NAME= | head -1 | sed "s/NAME=//g")
+osname=$(cat /etc/os-release | grep -w NAME= | head -1 | sed "s/NAME=//g" | sed "s/\"//g")
echo " "
echo " > $nofetch "