267
269
FILE *pidfile = fopen(plymouth_pid, "r");
268
270
/* Try the new pid file location */
276
278
/* Try the old pid file location */
278
280
pidfile = fopen(plymouth_pid, "r");
287
289
/* Look for a plymouth process */
289
291
struct dirent **direntries = NULL;
290
292
ret = scandir("/proc", &direntries, is_plymouth, alphasort);
292
294
error_plus(0, errno, "scandir");
297
299
error_plus(0, errno, "sscanf");