General: Exit awk early

This commit is contained in:
Michael Straube 2017-07-15 17:39:22 +02:00
parent 2fb963fcb8
commit 9596b0b921

View file

@ -1837,7 +1837,7 @@ get_term_font() {
;; ;;
"sakura"*) "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") "terminology")