getty-generator: fix stripping /dev/

This commit is contained in:
Thomas Hindoe Paaboel Andersen
2013-12-13 23:24:16 +01:00
parent 7c9a6f9063
commit 3fa5dd6de7
+1 -1
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;