mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-08-25 13:50:12 +03:00
getty-generator: fix stripping /dev/
This commit is contained in:
@ -147,7 +147,7 @@ int main(int argc, char *argv[]) {
|
||||
t = tty;
|
||||
|
||||
/* Then, make sure it's actually a pty */
|
||||
t = path_startswith(tty, "pts/");
|
||||
t = path_startswith(t, "pts/");
|
||||
if (!t)
|
||||
continue;
|
||||
|
||||
|
Reference in New Issue
Block a user