diff --git a/src/getty.c b/src/getty.c index 3180da3f..387041ae 100644 --- a/src/getty.c +++ b/src/getty.c @@ -189,8 +189,8 @@ static int do_login(char *name) execl(_PATH_LOGIN, _PATH_LOGIN, name, NULL); /* - * Failed to exec login, should be impossible. Try a starting a - * fallback shell instead. + * Failed to exec login, should not happen on normal systems. + * Try a starting a rescue shell instead. * * Note: Add /etc/securetty handling. */ diff --git a/src/svc.c b/src/svc.c index 59fa4d26..835321b4 100644 --- a/src/svc.c +++ b/src/svc.c @@ -433,7 +433,7 @@ svc_t *svc_find_by_tty(char *dev) { svc_t *svc, *iter = NULL; - /* this is valid for fallback (notty) shells */ + /* rescue (notty) shells have no device node */ if (!dev) return NULL; diff --git a/src/tty.c b/src/tty.c index 3becfb58..6497f1e9 100644 --- a/src/tty.c +++ b/src/tty.c @@ -158,7 +158,7 @@ int tty_parse_args(char *cmd, struct tty *tty) else if (!strcmp(cmd, "nologin")) tty->nologin = 1; else if (!strcmp(cmd, "notty")) - tty->notty = 1; /* for fallback shell */ + tty->notty = 1; /* for rescue shells */ else if (!access(cmd, X_OK)) tty->cmd = cmd; else