chiark / gitweb /
dev: use /dev/.run/systemd as runtime directory, instead of /dev/.systemd
[elogind.git] / src / readahead-collect.c
index 0970b584197faeb63d4be162dfe88d3ce75f282b..ca8227135e06336e8be082a2c197c6afa8b67702 100644 (file)
@@ -289,13 +289,13 @@ static int collect(const char *root) {
 
         log_debug("Collecting...");
 
-        if (access("/dev/.systemd/readahead/cancel", F_OK) >= 0) {
+        if (access("/dev/.run/systemd/readahead/cancel", F_OK) >= 0) {
                 log_debug("Collection canceled");
                 r = -ECANCELED;
                 goto finish;
         }
 
-        if (access("/dev/.systemd/readahead/done", F_OK) >= 0) {
+        if (access("/dev/.run/systemd/readahead/done", F_OK) >= 0) {
                 log_debug("Got termination request");
                 goto done;
         }