chiark / gitweb /
dev: use /dev/.run/systemd as runtime directory, instead of /dev/.systemd
[elogind.git] / src / tmpfiles.c
index 0302262394ef1f694f6f6745a62bc633961832c8..68af37aab0eb43f27edb0fb3062a0ff08cbebb3d 100644 (file)
@@ -775,7 +775,8 @@ static int scandir_filter(const struct dirent *d) {
                 return 0;
 
         if (d->d_type != DT_REG &&
-            d->d_type != DT_LNK)
+            d->d_type != DT_LNK &&
+            d->d_type != DT_UNKNOWN)
                 return 0;
 
         return endswith(d->d_name, ".conf");
@@ -852,7 +853,7 @@ static int parse_argv(int argc, char *argv[]) {
         }
 
         if (!arg_clean && !arg_create && !arg_remove) {
-                log_error("You need to specify at leat one of --clean, --create or --remove.");
+                log_error("You need to specify at least one of --clean, --create or --remove.");
                 return -EINVAL;
         }