summaryrefslogtreecommitdiffstats
path: root/src/home
diff options
context:
space:
mode:
Diffstat (limited to 'src/home')
-rw-r--r--src/home/homectl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/home/homectl.c b/src/home/homectl.c
index 65431db8ee..c64354141c 100644
--- a/src/home/homectl.c
+++ b/src/home/homectl.c
@@ -2438,7 +2438,7 @@ static int create_interactively(void) {
(void) polkit_agent_open_if_enabled(arg_transport, arg_ask_password);
- (void) reset_terminal_fd(STDIN_FILENO, /* switch_to_text= */ false);
+ (void) terminal_reset_defensive(STDIN_FILENO, /* switch_to_text= */ false);
for (;;) {
username = mfree(username);