getty-generator: fix stripping /dev/
This commit is contained in:
parent
7c9a6f9063
commit
3fa5dd6de7
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue