From 9596b0b921c278ebe86509bb40ec39f870008d07 Mon Sep 17 00:00:00 2001 From: Michael Straube Date: Sat, 15 Jul 2017 17:39:22 +0200 Subject: [PATCH] General: Exit awk early --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 4ba90936..7b9369df 100755 --- a/neofetch +++ b/neofetch @@ -1837,7 +1837,7 @@ get_term_font() { ;; "sakura"*) - term_font="$(awk -F '=' '/^font=/ {a=$2} END{print a}' "${XDG_CONFIG_HOME}/sakura/sakura.conf")" + term_font="$(awk -F '=' '/^font=/ {print $2; exit}' "${XDG_CONFIG_HOME}/sakura/sakura.conf")" ;; "terminology")