Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
debug: Create a file indicating the waiting point
[src/app-framework-binder.git]
/
src
/
sd-fds.c
diff --git
a/src/sd-fds.c
b/src/sd-fds.c
index
477da52
..
d904954
100644
(file)
--- a/
src/sd-fds.c
+++ b/
src/sd-fds.c
@@
-37,9
+37,9
@@
int sd_fds_init()
else {
init_done = 1;
rc = sd_listen_fds_with_names(1, &names);
- if (rc < 0) {
+ if (rc <
=
0) {
errno = -rc;
- rc = -
1
;
+ rc = -
!!rc
;
names = &null;
}
}