mirror of
https://github.com/troglobit/finit.git
synced 2026-10-08 16:34:45 +07:00
Increase debug level when starting a TTY
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
@@ -396,10 +396,12 @@ void tty_start(finit_tty_t *tty)
|
||||
}
|
||||
|
||||
if (tty->nologin) {
|
||||
_d("%s: Starting /bin/sh ...", dev);
|
||||
tty->pid = run_sh(dev, tty->noclear, tty->nowait, tty->rlimit);
|
||||
return;
|
||||
}
|
||||
|
||||
_d("%s: Starting %sgetty ...", dev, !tty->cmd ? "built-in " : "");
|
||||
if (!tty->cmd)
|
||||
tty->pid = run_getty(dev, tty->baud, tty->term, tty->noclear, tty->nowait, tty->rlimit);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user