diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-09-20 10:20:26 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:58:53 -0500 |
commit | 61ef24537253ae155b2785a27f9549a6538f8224 (patch) | |
tree | a5ad4dbbb8351f1084ac616af2cee577016000ce /source4/lib | |
parent | be61c9d8773eb3d0dd97bcd5e9ccd3f1aabcd1d6 (diff) | |
download | samba-61ef24537253ae155b2785a27f9549a6538f8224.tar.gz samba-61ef24537253ae155b2785a27f9549a6538f8224.tar.bz2 samba-61ef24537253ae155b2785a27f9549a6538f8224.zip |
r2441: set exit code correct when we got EBADF from select()
metze
(This used to be commit 36bf2f3eaf2e7568563cd98dc941d20f4574d271)
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/events.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/events.c b/source4/lib/events.c index 298aa6a7b8..4ae7cad8af 100644 --- a/source4/lib/events.c +++ b/source4/lib/events.c @@ -406,6 +406,7 @@ int event_loop_once(struct event_context *ev) the event, so this must be a bug. This is a fatal error. */ DEBUG(0,("EBADF on event_loop_once - exiting\n")); + ev->exit.code = EBADF; return -1; } |