static void check_username (const char* nm);
static void login_options_to_argv(char *argv[], int *argc, char *str, char *username);
static void reload_agettys(void);
+static void print_issue_file(struct options *op, struct termios *tp);
/* Fake hostname for ut_host specified on command line. */
static char *fakehost;
username = options.autolog;
}
- if ((options.flags & F_NOPROMPT) == 0) {
+ if (options.flags & F_NOPROMPT) { /* --skip-login */
+ print_issue_file(&options, &termios);
+ } else { /* regular (auto)login */
if (options.autolog) {
/* Autologin prompt */
do_prompt(&options, &termios);