diff options
author | Daniel Mack <daniel@zonque.org> | 2015-04-02 13:43:18 +0200 |
---|---|---|
committer | Daniel Mack <daniel@zonque.org> | 2015-04-03 15:29:18 +0200 |
commit | 34a4071e998f327945993ea6e6cbcaa0292b4093 (patch) | |
tree | f5d850771de78559cfbfc396fa65aaaf5d34ca0d /src/socket-proxy | |
parent | 039958632036808f9baa207e72b9827fa97b7a10 (diff) |
bootchart: clean up control flow logic
Don't blindly exit() from random functions, but return a proper error
and upchain error conditions.
squash! bootchart: clean up control flow logic
When pread() returns "0", it's a read failure, so don't make the caller think
log_sample() was successful, return meaningful error code instead of 0.
Diffstat (limited to 'src/socket-proxy')
0 files changed, 0 insertions, 0 deletions