chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
unit: when deserializing do reconnect to dbus/syslog when they show up
[elogind.git]
/
src
/
tmpfiles.c
diff --git
a/src/tmpfiles.c
b/src/tmpfiles.c
index 0302262394ef1f694f6f6745a62bc633961832c8..68af37aab0eb43f27edb0fb3062a0ff08cbebb3d 100644
(file)
--- a/
src/tmpfiles.c
+++ b/
src/tmpfiles.c
@@
-775,7
+775,8
@@
static int scandir_filter(const struct dirent *d) {
return 0;
if (d->d_type != DT_REG &&
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");
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) {
}
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 lea
s
t one of --clean, --create or --remove.");
return -EINVAL;
}
return -EINVAL;
}