chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tmpfiles: when processing lines, always process prefixes before suffixes
[elogind.git]
/
src
/
journal
/
journal-remote.c
diff --git
a/src/journal/journal-remote.c
b/src/journal/journal-remote.c
index ec4054f2f543930aadbea90a48ecc56e9c95f2f5..915f234ab2d110394d0646124c54ff0af799578e 100644
(file)
--- a/
src/journal/journal-remote.c
+++ b/
src/journal/journal-remote.c
@@
-185,7
+185,7
@@
static int open_output(Writer *s, const char* url) {
if (r < 0)
return log_oom();
} else {
if (r < 0)
return log_oom();
} else {
- r = is_dir(arg_output);
+ r = is_dir(arg_output
, true
);
if (r > 0) {
r = asprintf(&output,
"%s/remote-%s.journal", arg_output, name);
if (r > 0) {
r = asprintf(&output,
"%s/remote-%s.journal", arg_output, name);
@@
-1210,8
+1210,8
@@
int main(int argc, char **argv) {
if (remoteserver_init(&s) < 0)
return EXIT_FAILURE;
if (remoteserver_init(&s) < 0)
return EXIT_FAILURE;
- log_debug("%s running as pid
%lu"
,
- program_invocation_short_name,
(unsigned long)
getpid());
+ log_debug("%s running as pid
"PID_FMT
,
+ program_invocation_short_name, getpid());
sd_notify(false,
"READY=1\n"
"STATUS=Processing requests...");
sd_notify(false,
"READY=1\n"
"STATUS=Processing requests...");