chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove repeated includes
[elogind.git]
/
src
/
delta
/
delta.c
diff --git
a/src/delta/delta.c
b/src/delta/delta.c
index 91f8592b40941d9729378eda932789a2f7092d5d..2fdbeeae81e38c66b751a533301a6256e5d8a792 100644
(file)
--- a/
src/delta/delta.c
+++ b/
src/delta/delta.c
@@
-159,7
+159,7
@@
static int notify_override_unchanged(const char *f) {
static int found_override(const char *top, const char *bottom) {
_cleanup_free_ char *dest = NULL;
static int found_override(const char *top, const char *bottom) {
_cleanup_free_ char *dest = NULL;
- int k;
+ int k
, r
;
pid_t pid;
assert(top);
pid_t pid;
assert(top);
@@
-194,7
+194,9
@@
static int found_override(const char *top, const char *bottom) {
_exit(1);
}
_exit(1);
}
- wait_for_terminate(pid, NULL);
+ r = wait_for_terminate(pid, NULL);
+ if (r < 0)
+ log_warning("Failed to wait for diff: %s", strerror(-r));
putchar('\n');
putchar('\n');