From 618d5b23473c88cf787ccabbe8263aabb279f5a0 Mon Sep 17 00:00:00 2001 From: Michael Straube Date: Sun, 22 Dec 2019 13:39:38 +0100 Subject: [PATCH] term_font: konsole: Avoid wrong font info --- neofetch | 2 ++ 1 file changed, 2 insertions(+) diff --git a/neofetch b/neofetch index 1f977cc0..e9c0cc31 100755 --- a/neofetch +++ b/neofetch @@ -3119,6 +3119,8 @@ END [[ "$profile" ]] && break done + [[ ! $profile ]] && return + # We could have two profile files for the same profile name, take first match profile_filename="$(grep -l "Name=${profile}" "$HOME"/.local/share/konsole/*.profile)" profile_filename="${profile_filename/$'\n'*}"