From f737186ab1570842b81dabf5054a138427238bd1 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 15 Apr 2020 19:34:41 +0200 Subject: [PATCH] homectl: show touch emoji when asking for PKCS#11 protected auth path --- src/home/homectl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/home/homectl.c b/src/home/homectl.c index 886069fb49..41531735de 100644 --- a/src/home/homectl.c +++ b/src/home/homectl.c @@ -325,7 +325,9 @@ static int handle_generic_user_record_error( } else if (sd_bus_error_has_name(error, BUS_ERROR_TOKEN_PROTECTED_AUTHENTICATION_PATH_NEEDED)) { - log_notice("Please authenticate physically on security token."); + log_notice("%s%sPlease authenticate physically on security token.", + emoji_enabled() ? special_glyph(SPECIAL_GLYPH_TOUCH) : "", + emoji_enabled() ? " " : ""); r = user_record_set_pkcs11_protected_authentication_path_permitted(hr, true); if (r < 0) -- 2.25.1