term_font: konsole: Avoid wrong font info

This commit is contained in:
Michael Straube 2019-12-22 13:39:38 +01:00
parent 84d76a7ff3
commit 618d5b2347

View file

@ -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'*}"