1
1
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:
Thomas Hindoe Paaboel Andersen
2013-12-13 23:21:35 +01:00
parent 7c9a6f9063
commit 3fa5dd6de7

View File

@ -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;