mirror of
https://github.com/troglobit/finit.git
synced 2026-10-18 10:59:34 +00:00
Increase debug level when starting a TTY
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
a50bfc016e
commit
f704eab6d7
1 file changed
+2
@@ -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