Debian Codegraph @

debian/patches/getty-noclear

raw
1 Ignore --noclear passed by sysvinit since version 2.95-5
2
3 diff --git a/daemons/getty.c b/daemons/getty.c
4 index 40ad4d73..cfa5b71d 100644
5 --- a/daemons/getty.c
6 +++ b/daemons/getty.c
7 @@ -160,6 +160,13 @@ main (int argc, char **argv)
8
9 openlog ("getty", LOG_ODELAY|LOG_CONS|LOG_PID, LOG_AUTH);
10
11 + if (argc > 1)
12 + if (strcmp(argv[1], "--noclear") == 0)
13 + {
14 + argc--;
15 + argv++;
16 + }
17 +
18 /* Nothing to do .... */
19 if (argc != 3)
20 {