summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-03-31 04:26:40 +0200
committerLennart Poettering <lennart@poettering.net>2011-03-31 04:26:40 +0200
commit9408a2d295a312a5472345090e28e0502570494b (patch)
treefd660dddb7b41562342cca0832005b31911f84e7 /src/util.c
parentf695b3b09b672c327c5b525ed7a2390c4b99a67e (diff)
plymouth: use PID file to detect whether ply is running
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
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[] = {