diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2017-08-23 23:37:40 +0200 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2017-08-23 23:38:20 +0200 |
commit | cdea3acc2b065a7da1ff96fbdaf9c854192c189b (patch) | |
tree | 78534912cb1b6af939a1fba4dcdde6019c1daf95 /lib | |
parent | 3e8954279eb2374d8c3905c1b1ff21ea5b97f856 (diff) |
fuse_loop_mt(): on error, return errno rather than -1.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fuse_loop_mt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fuse_loop_mt.c b/lib/fuse_loop_mt.c index 42d3e03..74b6c99 100644 --- a/lib/fuse_loop_mt.c +++ b/lib/fuse_loop_mt.c @@ -127,7 +127,7 @@ static void *fuse_do_work(void *data) if (res <= 0) { if (res < 0) { fuse_session_exit(mt->se); - mt->error = -1; + mt->error = res; } break; } |