We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66bff73 commit a4fd6cdCopy full SHA for a4fd6cd
src/tty-ask-password-agent/tty-ask-password-agent.c
@@ -143,8 +143,7 @@ static int agent_ask_password_tty(
143
const char *flag_file,
144
char ***ret) {
145
146
- int tty_fd = -1;
147
- int r;
+ int tty_fd = -1, r;
148
149
if (arg_console) {
150
const char *con = arg_device ?: "/dev/console";
@@ -166,7 +165,7 @@ static int agent_ask_password_tty(
166
165
release_terminal();
167
}
168
169
- return 0;
+ return r;
170
171
172
static int process_one_password_file(const char *filename) {
0 commit comments