[systemd-commits] src/getty-generator
Thomas H.P. Andersen
phomes at kemper.freedesktop.org
Fri Dec 13 14:24:00 PST 2013
src/getty-generator/getty-generator.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 3fa5dd6de798e17d93531bc900b8e2dc587c38f3
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Fri Dec 13 23:21:35 2013 +0100
getty-generator: fix stripping /dev/
diff --git a/src/getty-generator/getty-generator.c b/src/getty-generator/getty-generator.c
index feb5815..aeb6d71 100644
--- a/src/getty-generator/getty-generator.c
+++ b/src/getty-generator/getty-generator.c
@@ -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;
More information about the systemd-commits
mailing list