chiark / gitweb /
hostnamed: introduce systemd-hostnamed
[elogind.git] / src / readahead-collect.c
index 693729598e4102dd1c7a8ef3d1341b8f7d6b1b39..3c48a02fc9e49dc9a92c3e43d4715a0dbcbfbbe9 100644 (file)
@@ -290,13 +290,13 @@ static int collect(const char *root) {
 
         log_debug("Collecting...");
 
-        if (access("/dev/.run/systemd/readahead/cancel", F_OK) >= 0) {
+        if (access("/run/systemd/readahead/cancel", F_OK) >= 0) {
                 log_debug("Collection canceled");
                 r = -ECANCELED;
                 goto finish;
         }
 
-        if (access("/dev/.run/systemd/readahead/done", F_OK) >= 0) {
+        if (access("/run/systemd/readahead/done", F_OK) >= 0) {
                 log_debug("Got termination request");
                 goto done;
         }