From 9408a2d295a312a5472345090e28e0502570494b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 31 Mar 2011 04:26:40 +0200 Subject: plymouth: use PID file to detect whether ply is running --- src/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util.c') diff --git a/src/util.c b/src/util.c index 5e101e4417..a44fea09cf 100644 --- a/src/util.c +++ b/src/util.c @@ -4189,7 +4189,7 @@ bool nulstr_contains(const char*nulstr, const char *needle) { } bool plymouth_running(void) { - return access("/run/initramfs/plymouth", F_OK) >= 0; + return access("/run/plymouth/pid", F_OK) >= 0; } static const char *const ioprio_class_table[] = { -- cgit v1.2.3-54-g00ecf