← Commit list

9e2e0ff4b

Uwe Geuder
Uwe Geuder
2017-07-20
SUCCESS Duration: 145s

Subject

bootchartd: prevent premature stop by device mapper

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

init/bootchartd.c+3 -1
@@ -171,7 +171,9 @@ static int dump_procs(FILE *fp, int look_for_login_process)
p++;
strchrnul(p, ')')[0] = '\0';
/* Is it gdm, kdm or a getty? */
- if (((p[0] == 'g' || p[0] == 'k' || p[0] == 'x') && p[1] == 'd' && p[2] == 'm')
+ if (((p[0] == 'g' || p[0] == 'k' || p[0] == 'x')
+ && p[1] == 'd' && p[2] == 'm' && p[3] == '\0'
+ )
|| strstr(p, "getty")
) {
found_login_process = 1;