tty-ask-password-agent: drop NULL sentinel

found by coccinelle
This commit is contained in:
Lennart Poettering 2017-11-29 19:53:53 +01:00
parent 2d0bc68450
commit 421eaea0d1
1 changed files with 1 additions and 1 deletions

View File

@ -721,7 +721,7 @@ static int ask_on_this_console(const char *tty, pid_t *pid, int argc, char *argv
for (ac = 0; ac < argc; ac++) {
if (streq(argv[ac], "--console")) {
argv[ac] = strjoina("--console=", tty, NULL);
argv[ac] = strjoina("--console=", tty);
break;
}
}