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;